Errors

class BlockCleanedUp(slot, first_available_block)
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 BlockCleanedUpMessage(message)
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 SendTransactionPreflightFailure(message, result)
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 SendTransactionPreflightFailureMessage(message, data)
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 RpcCustomErrorFieldless
NoSnapshot = RpcCustomErrorFieldless.NoSnapshot
TransactionHistoryNotAvailable = RpcCustomErrorFieldless.TransactionHistoryNotAvailable
TransactionSignatureLenMismatch = RpcCustomErrorFieldless.TransactionSignatureLenMismatch
TransactionSignatureVerificationFailure = RpcCustomErrorFieldless.TransactionSignatureVerificationFailure
class BlockNotAvailable(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.

slot
to_json()

Convert to a JSON string.

class BlockNotAvailableMessage(message)
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(num_slots_behind=None)
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(message, data)
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)
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 TransactionPrecompileVerificationFailureMessage(message)
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 SlotSkipped(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.

slot
to_json()

Convert to a JSON string.

class SlotSkippedMessage(message)
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 LongTermStorageSlotSkipped(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.

slot
to_json()

Convert to a JSON string.

class LongTermStorageSlotSkippedMessage(message)
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 KeyExcludedFromSecondaryIndex(index_key)
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 KeyExcludedFromSecondaryIndexMessage(message)
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(message)
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 ScanErrorMessage(message)
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(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.

slot
to_json()

Convert to a JSON string.

class BlockStatusNotAvailableYetMessage(message)
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)
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(message, data)
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(value)
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(message)
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(message)
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(message)
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(message)
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(message)
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(message)
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.