Filter

class Memcmp

Compares a provided series of bytes with program account data at a particular offset.

Parameters:
  • offset (int) – Data offset to begin match.

  • bytes (str | Sequnce[int]) – Bytes, encoded with specified encoding, or default Binary

static from_bytes(data)

Deserialize from bytes.

Parameters:

data (bytes) – the serialized object.

Returns: the deserialized object.

static from_json(raw)

Build from a JSON string.

offset
to_json()

Convert to a JSON string.

class RpcFilterTypeFieldless
TokenAccountState = RpcFilterTypeFieldless.TokenAccountState