chore: update transaction error links in docs (#22189)
This commit is contained in:
parent
736f974082
commit
4e4577afbe
|
@ -389,7 +389,7 @@ The result field will be an object with the following fields:
|
||||||
- `transactions: <array>` - present if "full" transaction details are requested; an array of JSON objects containing:
|
- `transactions: <array>` - present if "full" transaction details are requested; an array of JSON objects containing:
|
||||||
- `transaction: <object|[string,encoding]>` - [Transaction](#transaction-structure) object, either in JSON format or encoded binary data, depending on encoding parameter
|
- `transaction: <object|[string,encoding]>` - [Transaction](#transaction-structure) object, either in JSON format or encoded binary data, depending on encoding parameter
|
||||||
- `meta: <object>` - transaction status metadata object, containing `null` or:
|
- `meta: <object>` - transaction status metadata object, containing `null` or:
|
||||||
- `err: <object | null>` - Error if transaction failed, null if transaction succeeded. [TransactionError definitions](https://github.com/solana-labs/solana/blob/master/sdk/src/transaction.rs#L24)
|
- `err: <object | null>` - Error if transaction failed, null if transaction succeeded. [TransactionError definitions](https://github.com/solana-labs/solana/blob/c0c60386544ec9a9ec7119229f37386d9f070523/sdk/src/transaction/error.rs#L13)
|
||||||
- `fee: <u64>` - fee this transaction was charged, as u64 integer
|
- `fee: <u64>` - fee this transaction was charged, as u64 integer
|
||||||
- `preBalances: <array>` - array of u64 account balances from before the transaction was processed
|
- `preBalances: <array>` - array of u64 account balances from before the transaction was processed
|
||||||
- `postBalances: <array>` - array of u64 account balances after the transaction was processed
|
- `postBalances: <array>` - array of u64 account balances after the transaction was processed
|
||||||
|
@ -1993,7 +1993,7 @@ from newest to oldest transaction:
|
||||||
* `<object>`
|
* `<object>`
|
||||||
* `signature: <string>` - transaction signature as base-58 encoded string
|
* `signature: <string>` - transaction signature as base-58 encoded string
|
||||||
* `slot: <u64>` - The slot that contains the block with the transaction
|
* `slot: <u64>` - The slot that contains the block with the transaction
|
||||||
* `err: <object | null>` - Error if transaction failed, null if transaction succeeded. [TransactionError definitions](https://github.com/solana-labs/solana/blob/master/sdk/src/transaction.rs#L24)
|
* `err: <object | null>` - Error if transaction failed, null if transaction succeeded. [TransactionError definitions](https://github.com/solana-labs/solana/blob/c0c60386544ec9a9ec7119229f37386d9f070523/sdk/src/transaction/error.rs#L13)
|
||||||
* `memo: <string |null>` - Memo associated with the transaction, null if no memo is present
|
* `memo: <string |null>` - Memo associated with the transaction, null if no memo is present
|
||||||
* `blockTime: <i64 | null>` - estimated production time, as Unix timestamp (seconds since the Unix epoch) of when transaction was processed. null if not available.
|
* `blockTime: <i64 | null>` - estimated production time, as Unix timestamp (seconds since the Unix epoch) of when transaction was processed. null if not available.
|
||||||
|
|
||||||
|
@ -2057,7 +2057,7 @@ An array of:
|
||||||
- `<object>`
|
- `<object>`
|
||||||
- `slot: <u64>` - The slot the transaction was processed
|
- `slot: <u64>` - The slot the transaction was processed
|
||||||
- `confirmations: <usize | null>` - Number of blocks since signature confirmation, null if rooted, as well as finalized by a supermajority of the cluster
|
- `confirmations: <usize | null>` - Number of blocks since signature confirmation, null if rooted, as well as finalized by a supermajority of the cluster
|
||||||
- `err: <object | null>` - Error if transaction failed, null if transaction succeeded. [TransactionError definitions](https://github.com/solana-labs/solana/blob/master/sdk/src/transaction.rs#L24)
|
- `err: <object | null>` - Error if transaction failed, null if transaction succeeded. [TransactionError definitions](https://github.com/solana-labs/solana/blob/c0c60386544ec9a9ec7119229f37386d9f070523/sdk/src/transaction/error.rs#L13)
|
||||||
- `confirmationStatus: <string | null>` - The transaction's cluster confirmation status; either `processed`, `confirmed`, or `finalized`. See [Commitment](jsonrpc-api.md#configuring-state-commitment) for more on optimistic confirmation.
|
- `confirmationStatus: <string | null>` - The transaction's cluster confirmation status; either `processed`, `confirmed`, or `finalized`. See [Commitment](jsonrpc-api.md#configuring-state-commitment) for more on optimistic confirmation.
|
||||||
- DEPRECATED: `status: <object>` - Transaction status
|
- DEPRECATED: `status: <object>` - Transaction status
|
||||||
- `"Ok": <null>` - Transaction was successful
|
- `"Ok": <null>` - Transaction was successful
|
||||||
|
@ -3254,7 +3254,7 @@ Simulate sending a transaction
|
||||||
An RpcResponse containing a TransactionStatus object
|
An RpcResponse containing a TransactionStatus object
|
||||||
The result will be an RpcResponse JSON object with `value` set to a JSON object with the following fields:
|
The result will be an RpcResponse JSON object with `value` set to a JSON object with the following fields:
|
||||||
|
|
||||||
- `err: <object | string | null>` - Error if transaction failed, null if transaction succeeded. [TransactionError definitions](https://github.com/solana-labs/solana/blob/master/sdk/src/transaction.rs#L24)
|
- `err: <object | string | null>` - Error if transaction failed, null if transaction succeeded. [TransactionError definitions](https://github.com/solana-labs/solana/blob/c0c60386544ec9a9ec7119229f37386d9f070523/sdk/src/transaction/error.rs#L13)
|
||||||
- `logs: <array | null>` - Array of log messages the transaction instructions output during execution, null if simulation failed before the transaction was able to execute (for example due to an invalid blockhash or signature verification failure)
|
- `logs: <array | null>` - Array of log messages the transaction instructions output during execution, null if simulation failed before the transaction was able to execute (for example due to an invalid blockhash or signature verification failure)
|
||||||
- `accounts: <array> | null>` - array of accounts with the same length as the `accounts.addresses` array in the request
|
- `accounts: <array> | null>` - array of accounts with the same length as the `accounts.addresses` array in the request
|
||||||
- `<null>` - if the account doesn't exist or if `err` is not null
|
- `<null>` - if the account doesn't exist or if `err` is not null
|
||||||
|
@ -3831,7 +3831,7 @@ Result:
|
||||||
The notification will be an RpcResponse JSON object with value equal to:
|
The notification will be an RpcResponse JSON object with value equal to:
|
||||||
|
|
||||||
- `signature: <string>` - The transaction signature base58 encoded.
|
- `signature: <string>` - The transaction signature base58 encoded.
|
||||||
- `err: <object | null>` - Error if transaction failed, null if transaction succeeded. [TransactionError definitions](https://github.com/solana-labs/solana/blob/master/sdk/src/transaction.rs#L24)
|
- `err: <object | null>` - Error if transaction failed, null if transaction succeeded. [TransactionError definitions](https://github.com/solana-labs/solana/blob/c0c60386544ec9a9ec7119229f37386d9f070523/sdk/src/transaction/error.rs#L13)
|
||||||
- `logs: <array | null>` - Array of log messages the transaction instructions output during execution, null if simulation failed before the transaction was able to execute (for example due to an invalid blockhash or signature verification failure)
|
- `logs: <array | null>` - Array of log messages the transaction instructions output during execution, null if simulation failed before the transaction was able to execute (for example due to an invalid blockhash or signature verification failure)
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
@ -4089,7 +4089,7 @@ Result:
|
||||||
#### Notification Format:
|
#### Notification Format:
|
||||||
|
|
||||||
The notification will be an RpcResponse JSON object with value containing an object with:
|
The notification will be an RpcResponse JSON object with value containing an object with:
|
||||||
- `err: <object | null>` - Error if transaction failed, null if transaction succeeded. [TransactionError definitions](https://github.com/solana-labs/solana/blob/master/sdk/src/transaction.rs#L24)
|
- `err: <object | null>` - Error if transaction failed, null if transaction succeeded. [TransactionError definitions](https://github.com/solana-labs/solana/blob/c0c60386544ec9a9ec7119229f37386d9f070523/sdk/src/transaction/error.rs#L13)
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
```json
|
```json
|
||||||
|
@ -4468,7 +4468,7 @@ The result field will be an object with the following fields:
|
||||||
- `transactions: <array>` - present if "full" transaction details are requested; an array of JSON objects containing:
|
- `transactions: <array>` - present if "full" transaction details are requested; an array of JSON objects containing:
|
||||||
- `transaction: <object|[string,encoding]>` - [Transaction](#transaction-structure) object, either in JSON format or encoded binary data, depending on encoding parameter
|
- `transaction: <object|[string,encoding]>` - [Transaction](#transaction-structure) object, either in JSON format or encoded binary data, depending on encoding parameter
|
||||||
- `meta: <object>` - transaction status metadata object, containing `null` or:
|
- `meta: <object>` - transaction status metadata object, containing `null` or:
|
||||||
- `err: <object | null>` - Error if transaction failed, null if transaction succeeded. [TransactionError definitions](https://github.com/solana-labs/solana/blob/master/sdk/src/transaction.rs#L24)
|
- `err: <object | null>` - Error if transaction failed, null if transaction succeeded. [TransactionError definitions](https://github.com/solana-labs/solana/blob/c0c60386544ec9a9ec7119229f37386d9f070523/sdk/src/transaction/error.rs#L13)
|
||||||
- `fee: <u64>` - fee this transaction was charged, as u64 integer
|
- `fee: <u64>` - fee this transaction was charged, as u64 integer
|
||||||
- `preBalances: <array>` - array of u64 account balances from before the transaction was processed
|
- `preBalances: <array>` - array of u64 account balances from before the transaction was processed
|
||||||
- `postBalances: <array>` - array of u64 account balances after the transaction was processed
|
- `postBalances: <array>` - array of u64 account balances after the transaction was processed
|
||||||
|
@ -4724,7 +4724,7 @@ from newest to oldest transaction:
|
||||||
* `<object>`
|
* `<object>`
|
||||||
* `signature: <string>` - transaction signature as base-58 encoded string
|
* `signature: <string>` - transaction signature as base-58 encoded string
|
||||||
* `slot: <u64>` - The slot that contains the block with the transaction
|
* `slot: <u64>` - The slot that contains the block with the transaction
|
||||||
* `err: <object | null>` - Error if transaction failed, null if transaction succeeded. [TransactionError definitions](https://github.com/solana-labs/solana/blob/master/sdk/src/transaction.rs#L24)
|
* `err: <object | null>` - Error if transaction failed, null if transaction succeeded. [TransactionError definitions](https://github.com/solana-labs/solana/blob/c0c60386544ec9a9ec7119229f37386d9f070523/sdk/src/transaction/error.rs#L13)
|
||||||
* `memo: <string |null>` - Memo associated with the transaction, null if no memo is present
|
* `memo: <string |null>` - Memo associated with the transaction, null if no memo is present
|
||||||
* `blockTime: <i64 | null>` - estimated production time, as Unix timestamp (seconds since the Unix epoch) of when transaction was processed. null if not available.
|
* `blockTime: <i64 | null>` - estimated production time, as Unix timestamp (seconds since the Unix epoch) of when transaction was processed. null if not available.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue