Type alias FungiblePostCondition

FungiblePostCondition: {
    address: string;
    amount: string | bigint | number;
    asset: AssetString;
    condition: `${FungibleComparator}`;
    type: "ft-postcondition";
}

Type declaration

  • address: string

    Address sending the asset (principal address or contract-id)

  • amount: string | bigint | number

    BigInt compatible amount to be checked in post-condition

  • asset: AssetString

    Asset to be sent (given as a string <contract-id>::<token-name>)

  • condition: `${FungibleComparator}`

    Comparator to check the amount to be sent (eq, gt, gte, lt, lte)

  • type: "ft-postcondition"

Generated using TypeDoc