Update docs
This commit is contained in:
committed by
Tyera Eulberg
parent
4068612300
commit
d3c4e4f7b3
@ -169,12 +169,10 @@ events.
|
|||||||
* `string` - Signature of Transaction to confirm, as base-58 encoded string
|
* `string` - Signature of Transaction to confirm, as base-58 encoded string
|
||||||
|
|
||||||
##### Results:
|
##### Results:
|
||||||
* `string` - Transaction status:
|
* `null` - Unknown transaction
|
||||||
* `Confirmed` - Transaction was successful
|
* `object` - Transaction status:
|
||||||
* `SignatureNotFound` - Unknown transaction
|
* `"Ok": null` - Transaction was successful
|
||||||
* `ProgramRuntimeError` - An error occurred in the program that processed this Transaction
|
* `"Err": <ERR>` - Transaction failed with TransactionError <ERR> [TransactionError definitions](https://github.com/solana-labs/solana/blob/master/sdk/src/transaction.rs#L14)
|
||||||
* `AccountInUse` - Another Transaction had a write lock one of the Accounts specified in this Transaction. The Transaction may succeed if retried
|
|
||||||
* `GenericFailure` - Some other error occurred. **Note**: In the future new Transaction statuses may be added to this list. It's safe to assume that all new statuses will be more specific error conditions that previously presented as `GenericFailure`
|
|
||||||
|
|
||||||
##### Example:
|
##### Example:
|
||||||
```bash
|
```bash
|
||||||
|
@ -41,7 +41,7 @@ $ solana-wallet balance
|
|||||||
$ solana-wallet confirm <TX_SIGNATURE>
|
$ solana-wallet confirm <TX_SIGNATURE>
|
||||||
|
|
||||||
// Return
|
// Return
|
||||||
"Confirmed" / "Not found"
|
"Confirmed" / "Not found" / "Transaction failed with error <ERR>"
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Deploy program
|
#### Deploy program
|
||||||
@ -352,4 +352,3 @@ ARGS:
|
|||||||
<PUBKEY> The pubkey of recipient
|
<PUBKEY> The pubkey of recipient
|
||||||
<PROCESS_ID> The process id of the transfer to unlock
|
<PROCESS_ID> The process id of the transfer to unlock
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user