getSignatureStatuses
Returns the statuses of a list of transaction signatures.
https://api.1inch.com/web3/501
Supported on: Solana
Request
Request
object jsonrpc
* string (Enum)JSON-RPC version
2.0
method
* string The method to call
params
array Method parameters
items
any id
* number Request ID
JavaScript
Copy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
const response = await fetch('https://api.1inch.com/web3/501', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${API_KEY}`,
},
body: JSON.stringify({
jsonrpc: '2.0',
method: 'getSignatureStatuses',
params: [],
id: 1,
}),
});
const data = await response.json();
console.log(data);
Response
Signature Statuses Response
Signature Statuses Response
object context
* object slot
* integer The slot at which the request was processed
apiVersion
string The version of the Solana RPC API
additionalProperties
none value
* array Array of signature status objects, matching the order of signatures queried. Null if unknown.
items
any oneOf[0]
null oneOf[1]
object slot
* integer The slot the transaction was processed
confirmations
* any oneOf[0]
null oneOf[1]
integer Number of blocks since signature confirmation, null if rooted
err
* any oneOf[0]
null oneOf[1]
object Error details if transaction failed
confirmationStatus
* any oneOf[0]
null oneOf[1]
string (Enum)The transaction's cluster confirmation status
processed
confirmed
finalized
additionalProperties
none additionalProperties
none JSON
Copy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"context": {
"slot": 82
},
"value": [
{
"slot": 72,
"confirmations": 10,
"err": null,
"confirmationStatus": "confirmed"
},
null
]
}