Interface UnsignedContractCallOptions

Contract function call transaction options

Hierarchy

Properties

client?: ClientOpts

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

contractAddress: string

the Stacks address of the contract

contractName: string

transaction fee in microstacks

functionArgs: ClarityValue[]
functionName: string
network?: StacksNetwork | "mainnet" | "testnet" | "devnet" | "mocknet"
nonce?: IntegerType

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

the post condition mode, specifying whether or not post-conditions must fully cover all transfered assets

postConditions?: PostCondition[]

a list of post conditions to add to the transaction

publicKey: PrivateKey
sponsored?: boolean

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

validateWithAbi?: boolean | ClarityAbi

set to true to validate that the supplied function args match those specified in the published contract

Generated using TypeDoc