Home Reference Source

References

summary
public

An account key pair (public and secret keys).

public

Factory class for transactions to interact with a program loader

public

Factory class for transactions to interact with the Budget program

public

A connection to a fullnode JSON RPC endpoint

public

C Loader

Program loader interface

public

NonceAccount class

public

A public key

public
public

C Lockup

public

Stake Instruction class

public

Factory class for transactions to interact with the Stake program

public

System Instruction class

public

Factory class for transactions to interact with the System program

public

Transaction class

public

Transaction Instruction class

public

ValidatorInfo class

public

VoteAccount class

public

F encodeData(type: *, fields: *): *

Populate a buffer of instruction data using an InstructionType

public

F authorized(property: string): *

Layout for an Authorized object

public

F getAlloc(type: Object, fields: Object): number

public

F lockup(property: string): *

Layout for a Lockup object

public

F publicKey(property: string): *

Layout for a public key

public

F rustString(property: string): *

Layout for a Rust String type

public

F uint64(property: string): *

Layout for a 64bit unsigned value

public

Expected JSON RPC response for the "getConfirmedBlock" message

public
public
public

An enumeration of valid StakeInstructionTypes

public

An enumeration of valid StakeInstructionTypes

public
public
public
public
public
public

Maximum over-the-wire size of a Transaction

public
public
public
public

A condition that can unlock a payment

public

Represents a payment to a given public key

public

Represents a condition that is met by executing a applySignature() transaction

public

Represents a condition that is met by executing a applyTimestamp() transaction

public

Information describing an account

public

T Commitment: 'max' | 'recent'

The level of commitment desired when querying state 'max': Query the most recent block which has reached max voter lockout 'recent': Query the most recent block

public

A ConfirmedBlock on the ledger

public

Information describing a cluster node

public
public
public
public

Account information identified by pubkey

public

Signature status: Success

public

Signature status: TransactionError

public

Version info for a node

public

Information describing a vote account

public

A collection of cluster vote accounts

public
public
public
public

NonceInformation to be used to build a Transaction.

public

List of Transaction object fields that may be initialized at construction

public

List of TransactionInstruction object fields that may be initialized at construction

public
public

Info used to identity validators.

util

summary
public

F async sendAndConfirmRawTransaction(connection: *, rawTransaction: *, commitment: *): *

Sign, send and confirm a raw transaction

public

F async sendAndConfirmRecentTransaction(connection: *, transaction: *, signers: ...*): *

Sign, send and confirm a transaction with recent commitment level

public

F async sendAndConfirmTransaction(connection: *, transaction: *, signers: ...*): *

Sign, send and confirm a transaction

public
public

F encodeLength(bytes: Array<number>, len: number)

public

F sleep(ms: number): Promise<void>

public

F testnetChannelEndpoint(channel: *, tls: *): *

Retrieves the RPC endpoint URL for the specified testnet release channel

public

F toBuffer(arr: *): *

Directories