Interface IExecSmartContractOpType

Represents an operation which executes a smart contract.

See

  • ExecuteSC.data - vec of bytes to execute
  • ExecuteSC.max_gas - maximum amount of gas that the execution of the contract is allowed to cost
  • ExecuteSC.datastore - key-value pairs of data to be used by the smart contract
interface IExecSmartContractOpType {
    ExecuteSC: {
        data: number[];
        datastore: Map<Uint8Array, Uint8Array>;
        max_gas: number;
    };
}

Properties

Properties

ExecuteSC: {
    data: number[];
    datastore: Map<Uint8Array, Uint8Array>;
    max_gas: number;
}

Type declaration

  • data: number[]
  • datastore: Map<Uint8Array, Uint8Array>
  • max_gas: number

Generated using TypeDoc