Get current pending transactions
shell
GET: {{endpoint}}/v1/transaction/pending/:chainHeaders
| Key | Type | Value | Description |
|---|---|---|---|
| x-api-key | string | key_xxxxxxxxxxxxxxxxxxxx | API Key string |
| x-signature | string | SHA256 | The HMAC SHA256 signature. |
| x-timestamp | string | 1730998051892 | Timestamp of the request |
Path variables
| Key | Type | Description |
|---|---|---|
| chain | string | The Chain ID to query pending transactions |
Response Parameters
The final response in the stream also includes additional data about the generation:
withdrawalId: the withdrawal idchain: the chain-idserializedTransaction: the serialized transactiondecodedTransaction: the decoded transactionhashes: (Array) the hashesindex: the indexwithdrawalResponses: the withdrawal responsessignatures: the signaturesid: the id of the transactiondecodedTransaction: the decoded transactionvisible: the visibletxID: the transaction idraw_data_hex: the raw data hexraw_data: the raw dataref_block_bytes: the ref block bytesref_block_hash: the ref block hashexpiration: the expirationtimestamp: the timestampcontract: (Array) the contracttype: the typeparameter: the parametertype_url: the type urlvalue: the valueto_address: the to addressowner_address: the owner addressamount: the amount
Example Response
json
{
"data": [
{
"withdrawalId": null,
"chain": "TRON",
"serializedTransaction": "{\"visible\":false,\"txID\":\"c0c655de09cf318e292a0cea94f549f3a50cb6c998ff31b60c98028150d6e7ed\",\"raw_data_hex\":\"0a02202422083d66ebb6f72a7e044090c0f5d4a9325a67080112630a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e73666572436f6e747261637412320a1541d14ae18e286517c9ef897fe3a0323633c29589281215411b1018b9f81ee3f8386214a860d9a1f7a22b1fc918c0843d70b0ebf1d4a932\",\"raw_data\":{\"contract\":[{\"parameter\":{\"value\":{\"to_address\":\"411b1018b9f81ee3f8386214a860d9a1f7a22b1fc9\",\"owner_address\":\"41d14ae18e286517c9ef897fe3a0323633c2958928\",\"amount\":1000000},\"type_url\":\"type.googleapis.com/protocol.TransferContract\"},\"type\":\"TransferContract\"}],\"ref_block_bytes\":\"2024\",\"ref_block_hash\":\"3d66ebb6f72a7e04\",\"expiration\":1729170858000,\"timestamp\":1729170798000}}",
"hashes": [
"4b93dc92-6046-41b1-8d8e-8f63f2c3c43c"
],
"index": null,
"withdrawalResponses": null,
"signatures": null,
"id": "67110d70da538076bba824f5",
"decodedTransaction": {
"visible": false,
"txID": "c0c655de09cf318e292a0cea94f549f3a50cb6c998ff31b60c98028150d6e7ed",
"raw_data_hex": "0a02202422083d66ebb6f72a7e044090c0f5d4a9325a67080112630a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e73666572436f6e747261637412320a1541d14ae18e286517c9ef897fe3a0323633c29589281215411b1018b9f81ee3f8386214a860d9a1f7a22b1fc918c0843d70b0ebf1d4a932",
"raw_data": {
"ref_block_bytes": "2024",
"ref_block_hash": "3d66ebb6f72a7e04",
"expiration": 1729170858000,
"timestamp": 1729170798000,
"contract": [
{
"type": "TransferContract",
"parameter": {
"type_url": "type.googleapis.com/protocol.TransferContract",
"value": {
"to_address": "411b1018b9f81ee3f8386214a860d9a1f7a22b1fc9",
"owner_address": "41d14ae18e286517c9ef897fe3a0323633c2958928",
"amount": 1000000
}
}
}
]
}
}
},
{ ... }
]
}json
{
"error": "Error message"
}json
{
"error": "Forbidden"
}