Interface SupplyParameters

Parameters for supply operations SupplyParameters

interface SupplyParameters {
    amount: bigint;
    asset: PoolAssetConfig;
    customPayloadRecipient?: Address;
    customPayloadSaturationFlag?: boolean;
    forwardAmount?: bigint;
    includeUserCode: boolean;
    payload: Cell;
    queryID: bigint;
    responseAddress?: Address;
    returnRepayRemainingsFlag?: boolean;
    subaccountId?: number;
    userAddress: Address;
}

Properties

amount: bigint

Amount to supply (must be positive)

Asset configuration for the supply operation

customPayloadRecipient?: Address

Optional custom payload recipient address

customPayloadSaturationFlag?: boolean

Whether to saturate custom payload

forwardAmount?: bigint

Optional forward amount for transaction fees

includeUserCode: boolean

Whether to include user contract code update

payload: Cell

Operation payload cell

queryID: bigint

Unique identifier for this operation

responseAddress?: Address

Optional address for operation response

returnRepayRemainingsFlag?: boolean

Whether to return repay remainings

subaccountId?: number

Optional subaccount identifier (0-255)

userAddress: Address

Address of the user performing the supply