Solana JSON-RPC Methods
Array
- Array of accounts:
Object
:
pubkey
: String
- public key for keypairArray
- Array of accounts:
Object
:
pubkey
: String
- public key for keypairObject
- Signing parameters:
message
: String
- the message to be signed (base58 encoded)pubkey
: String
- public key of the signerObject
:
signature
: String
- corresponding signature for signed messagetransaction
param.
The deprecated parameters are not compatible with versioned transactions.Object
- Signing parameters:transaction
: String
- base64-encoded serialized transactionfeePayer
: String | undefined
- public key of the transaction fee payerinstructions
: Array
of Object
or undefined
- instructions to be atomically executed:Object
- instructionprogramId
: String
- public key of the on chain programdata
: String | undefined
- encoded calldata for instructionkeys
: Array
of Object
- account metadata used to define instructionsObject
- keyisSigner
: Boolean
- true if an instruction requires a transaction signature matching pubkey
isWritable
: Boolean
- true if the pubkey
can be loaded as a read-write accountpubkey
: String
- public key of authorized programrecentBlockhash
: String | undefined
- a recent blockhashsignatures
: Array
of Object
or undefined
- (optional) previous partial signatures for this instruction setObject
- partial signaturepubkey
: String
- pubkey of the signersignature
: String
- signature matching pubkey
Object
:
signature
: String
- corresponding signature for signed instructionstransaction
?: String | undefined
- optional: base64-encoded serialized transactionObject
- Signing parameters:
transactions
: String[]
- base64-encoded serialized list of transactionsObject
:
transactions
: String[]
- base64-encoded serialized list of signed transactions in the same order as receivedObject
- transaction and options:transaction
: String
- the whole transaction serialized and encoded with base64sendOptions
: Object
- options for sending the transactionskipPreflight
: Boolean
- skip preflight checkspreflightCommitment
: 'processed' | 'confirmed' | 'finalized' | 'recent' | 'single' | 'singleGossip' | 'root' | 'max'
- preflight commitment levelmaxRetries
: Number
- maximum number of retriesminContextSlot
: Number
- minimum context slotObject
:
signature
: String
, - the signature of the transaction encoded with base58 used as transaction id