Skip to content
Lattice

GetRequest

Git Source

A GET request for reading a counterparty state machine's storage.

struct GetRequest {
    /// @notice The source state machine of this request.
    bytes source;
    /// @notice The destination state machine of this request.
    bytes dest;
    /// @notice The host-side protocol nonce.
    uint64 nonce;
    /// @notice The origin module (an address on the source chain for GETs).
    address from;
    /// @notice Timestamp by which this request times out.
    uint64 timeoutTimestamp;
    /// @notice Storage keys to read.
    bytes[] keys;
    /// @notice Height at which to read the destination state machine.
    uint64 height;
    /// @notice Some application-specific metadata relating to this request.
    bytes context;
}

Properties

NameTypeDescription
sourcebytes
destbytes
nonceuint64
fromaddress
timeoutTimestampuint64
keysbytes[]
heightuint64
contextbytes