Interface UnsignedTokenTransferOptions

STX token transfer transaction options

Hierarchy

Properties

amount: IntegerType

the amount to be transfered in microstacks

anchorMode: "onChainOnly" | "offChainOnly" | "any" | AnchorMode

the transaction anchorMode, which specifies whether it should be included in an anchor block or a microblock

the transaction fee in microstacks

memo?: string

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

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

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