Interface TransactionContext

Context used to resolve a transaction. Compatible with the JSON response from a get_block call.

interface TransactionContext {
    block_num?: UInt32Type;
    chainId?: ChainIdType;
    expiration?: TimePointType;
    expire_seconds?: UInt32Type;
    ref_block_num?: UInt16Type;
    ref_block_prefix?: UInt32Type;
    timestamp?: TimePointType;
}

Properties

block_num?: UInt32Type

Block number ref_block_num will be derived from.

chainId?: ChainIdType

Chain ID to resolve for, required for multi-chain requests.

expiration?: TimePointType

Expiration timestamp, takes precedence over timestamp and expire_seconds if set.

expire_seconds?: UInt32Type

How many seconds in the future to set expiration when deriving from timestamp. Defaults to 60 seconds if unset.

ref_block_num?: UInt16Type

Reference block number, takes precedence over block_num if both is set.

ref_block_prefix?: UInt32Type

Reference block prefix.

timestamp?: TimePointType

Timestamp expiration will be derived from.