@thruputchain/client
    Preparing search index...

    Interface Operation

    Wire form of a signed operation: the Operation struct of the thruput-signed-op-if interface, in the shape generated bindings give it.

    The network hash, the verifying contract, and the signing key are covered by the signature but deliberately absent here. The verifying contract supplies the first two from its own syscalls and checks the signature against the key it holds, so a submitter can name neither the network or contract a signature was meant for nor the key it is checked against.

    block_expiry_height and nonce are the chain's Uniquifier, in its field order, so their encoding is byte for byte a transaction's.

    interface Operation {
        block_expiry_height: bigint;
        body: Uint8Array;
        nonce: bigint;
    }
    Index

    Properties

    block_expiry_height: bigint

    Last block height (inclusive) at which the operation may execute.

    body: Uint8Array

    CXS encoding of the payload value.

    nonce: bigint

    Chosen by the signer: any value, as long as the pair (nonce, block_expiry_height) has not been consumed at the verifying contract. There is no ordering. Consumed pairs are the contract's, not the key's, so where several keys sign for one contract, draw nonces at random (randomNonce) rather than counting; a lone key may do either.