Interface UnsignedTokenTransferOptions

STX token transfer transaction options

Note: Standard STX transfer does not allow post-conditions.

Hierarchy

Properties

amount: IntegerType

the amount to be transfered in microstacks

api?: ApiOpts

Optional API object (for .url and .fetch) used for API/Node, defaults to use mainnet

the transaction fee in microstacks

memo?: string

an arbitrary string to include in the transaction, must be less than 34 bytes

network?: StacksNetwork | "mainnet" | "testnet" | "devnet" | "mocknet"

the network that the transaction will ultimately be broadcast to

nonce?: IntegerType

the transaction nonce, which must be increased monotonically with each new transaction

publicKey: string
recipient: string | PrincipalCV

the address of the recipient of the token transfer

sponsored?: boolean

set to true if another account is sponsoring the transaction (covering the transaction fee)

Generated using TypeDoc