Type alias ContractCallOptions

ContractCallOptions: {
    contractAddress: string;
    contractName: string;
    fee?: IntegerType;
    functionArgs: ClarityValue[];
    functionName: string;
    nonce?: IntegerType;
    postConditionMode?: PostConditionMode;
    postConditions?: PostCondition[];
    sponsored?: boolean;
    validateWithAbi?: boolean | ClarityAbi;
} & NetworkClientParam

Contract function call transaction options

Type declaration

  • contractAddress: string

    the Stacks address of the contract

  • contractName: string
  • Optional fee?: IntegerType

    transaction fee in microstacks

  • functionArgs: ClarityValue[]
  • functionName: string
  • Optional nonce?: IntegerType

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

  • Optional postConditionMode?: PostConditionMode

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

  • Optional postConditions?: PostCondition[]

    a list of post conditions to add to the transaction

  • Optional sponsored?: boolean

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

  • Optional validateWithAbi?: boolean | ClarityAbi

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

Generated using TypeDoc