Errors

class RpcCustomErrorFieldless
NoSnapshot = RpcCustomErrorFieldless.NoSnapshot
TransactionHistoryNotAvailable = RpcCustomErrorFieldless.TransactionHistoryNotAvailable
TransactionSignatureLenMismatch = RpcCustomErrorFieldless.TransactionSignatureLenMismatch
TransactionSignatureVerificationFailure = RpcCustomErrorFieldless.TransactionSignatureVerificationFailure
class BlockCleanedUp
first_available_block
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.

slot
to_json()

Convert to a JSON string.

class SendTransactionPreflightFailure
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.

message
result
to_json()

Convert to a JSON string.

class BlockNotAvailable
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.

slot
to_json()

Convert to a JSON string.

class BlockCleanedUpMessage
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.

message
to_json()

Convert to a JSON string.

class SendTransactionPreflightFailureMessage
data
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.

message
to_json()

Convert to a JSON string.

class BlockNotAvailableMessage
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.

message
to_json()

Convert to a JSON string.

class NodeUnhealthy
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.

num_slots_behind
to_json()

Convert to a JSON string.

class NodeUnhealthyMessage
data
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.

message
to_json()

Convert to a JSON string.

class TransactionPrecompileVerificationFailure
error
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.

to_json()

Convert to a JSON string.

class SlotSkipped
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.

slot
to_json()

Convert to a JSON string.

class LongTermStorageSlotSkipped
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.

slot
to_json()

Convert to a JSON string.

class KeyExcludedFromSecondaryIndex
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.

index_key
to_json()

Convert to a JSON string.

class TransactionPrecompileVerificationFailureMessage
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.

message
to_json()

Convert to a JSON string.

class SlotSkippedMessage
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.

message
to_json()

Convert to a JSON string.

class LongTermStorageSlotSkippedMessage
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.

message
to_json()

Convert to a JSON string.

class KeyExcludedFromSecondaryIndexMessage
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.

message
to_json()

Convert to a JSON string.

class ScanError
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.

message
to_json()

Convert to a JSON string.

class BlockStatusNotAvailableYet
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.

slot
to_json()

Convert to a JSON string.

class ScanErrorMessage
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.

message
to_json()

Convert to a JSON string.

class BlockStatusNotAvailableYetMessage
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.

message
to_json()

Convert to a JSON string.

class MinContextSlotNotReached
context_slot
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.

to_json()

Convert to a JSON string.

class MinContextSlotNotReachedMessage
data
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.

message
to_json()

Convert to a JSON string.

class UnsupportedTransactionVersion
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.

to_json()

Convert to a JSON string.

value
class UnsupportedTransactionVersionMessage
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.

message
to_json()

Convert to a JSON string.

class ParseErrorMessage
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.

message
to_json()

Convert to a JSON string.

class InvalidRequestMessage
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.

message
to_json()

Convert to a JSON string.

class MethodNotFoundMessage
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.

message
to_json()

Convert to a JSON string.

class InvalidParamsMessage
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.

message
to_json()

Convert to a JSON string.

class InternalErrorMessage
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.

message
to_json()

Convert to a JSON string.