Commitment Config

class CommitmentConfig

Wrapper object for CommitmentLevel.

Parameters:

commitment (CommitmentLevel) – Bank state to query.

commitment
static confirmed()

Create a new instance with confirmed commitment.

static default()

Create a new default instance.

static finalized()

Create a new instance with finalized commitment.

static from_string(s)

Create from a string.

is_at_least_confirmed()

Check if using at least confirmed commitment.

is_confirmed()

Check if using confirmed commitment.

is_finalized()

Check if using finalized commitment.

static processed()

Create a new instance with processed commitment.

class CommitmentLevel

RPC request commitment options.

Confirmed = CommitmentLevel.Confirmed
Finalized = CommitmentLevel.Finalized
Processed = CommitmentLevel.Processed
static default()

Create a new default instance.

static from_string(s)