subbridge_txPending
The subbridge_txPending returns the list of pending transactions in the bridge transaction pool.
JSONRPC: subbridge_txPending
Request
- application/json
Body
Default value: subbridge_txPending
Method name
Default value: 1
Request ID, Random or Auto incrementation
Default value: 2.0
JSON-RPC Version (2.0)
Responses
- 200
List of pending transactions in the bridge transaction pool.
- application/json
- Schema
- Example (from schema)
Schema
Default value: 2.0
error
object
A Number that indicates the error type that occurred. This MUST be an integer.
| code | message | description | |-----|-----|-------| | -32700 | Parse error | invalid JSON was received by the server. An error occurred on the server while parsing the JSON text. | |-32602 | Invalid params | Invalid method parameter(s). |
A String providing a short description of the error. The message SHOULD be limited to a concise single sentence.
A Primitive or Structured value that contains additional information about the error. This may be omitted. The value of this member is defined by the Server (e.g. detailed error information, nested errors etc.).
List of pending transactions in the bridge transaction pool.
{
"jsonrpc": "2.0",
"id": 0,
"error": {
"code": -32700,
"message": "Parse error",
"data": "string"
},
"result": {
"0xa057995175b93ee0d1bdfa54f078ad0f0116130b": [
{
"from": "0xa057995175b93ee0d1bdfa54f078ad0f0116130b",
"gas": "0x186a0",
"gasPrice": "0x5d21dba00",
"hash": "0x284c8f5bc82ef987c3a14fc8dac7933beb528777745987ff790014441f26ca03",
"input": "0xf8a9a063f41a6ec8e2f8074c30fccf11f2b8479e7ebd8a0e5aa0c171623bc1f3812e33a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a0f845557d8dc2175974f29c2e9d12b1a57f634acaafdf56ae7033201a0796bedea056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a09109530b191b47ca3d91012faba70fcf307f13b030f19d932cab38f2c1ece7b78304157c",
"nonce": "0x41589",
"signatures": [
{
"...": null
}
],
"type": "TxTypeChainDataAnchoring",
"typeInt": 72
},
{
"from": "0xa057995175b93ee0d1bdfa54f078ad0f0116130b",
"gas": "0x186a0",
"gasPrice": "0x5d21dba00",
"hash": "0x4dd093916a419608091da28b5d7ffc6e34d894ddaac96328f1904bfef93a4ad0",
"input": "0xf8a9a05b0dd6cc938916e37b17b602690399987b4e8540a14a494626d85e947f721a10a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a063f41a6ec8e2f8074c30fccf11f2b8479e7ebd8a0e5aa0c171623bc1f3812e33a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a09109530b191b47ca3d91012faba70fcf307f13b030f19d932cab38f2c1ece7b78304157d",
"nonce": "0x4158a",
"signatures": [
{
"...": null
}
],
"type": "TxTypeChainDataAnchoring",
"typeInt": 72
}
]
}
}