Interface IReadData

Represents the data of a read operation.

See

  • maxGas - The maximum amount of gas that the execution of the contract is allowed to cost.
  • targetAddress - Target smart contract address or the mns associated
  • targetFunction - Target function name. No function is called if empty.
  • parameter - Parameter to pass to the target function
  • callerAddress - Caller address
  • fee of type bigint represents the transaction fee.
  • coins of type bigint represents the extra coins in nanoMassa that are spent from the caller's balance and transferred to the target.
interface IReadData {
    callerAddress?: string;
    coins?: bigint;
    fee?: bigint;
    maxGas?: bigint;
    parameter: number[] | Args;
    targetAddress: string;
    targetFunction: string;
}

Properties

callerAddress?: string
coins?: bigint

The coin amount in nanoMassa.

fee?: bigint

The fee amount in nanoMassa.

maxGas?: bigint
parameter: number[] | Args
targetAddress: string
targetFunction: string

Generated using TypeDoc