Get calls
Changed onReturns all calls from the database that satisfy the query parameters. It will return a paginated response, ordered descending by block number, then call id.
Request
- Base URL: https://bridge-hub.polkadot.crystal.api.submerge.io/v1
- URL: https://bridge-hub.polkadot.crystal.api.submerge.io/v1/calls
- Auth: none declared
Query parameters
Opaque cursor for call pagination - returned in the endpoint response. This parameter is mutually exclusive with all other parameters, and will return bad request if any other parameter is set.
Number of calls per page to be returned.
Filter calls by minimum block number.
Filter calls by maximum block number.
Filter calls by minimum block timestamp. In milliseconds.
Filter calls by maximum block timestamp. In milliseconds.
Filter calls by minimum runtime spec version.
Filter calls by maximum runtime spec version.
Filter calls by pallet name. Case insensitive. Stored in CapitalCase. Underscore (_) character is ignored.
Filter calls by call name. Case insensitive. Stored in CapitalCase. Underscore (_) character is ignored.
Whether to include only calls within signed/unsigned extrinsics.
Whether to include call arguments in the calls in the response. Default is false. Setting this to true increases the response size considerably. Prefer to use the GET /call/{call_hash}/args endpoint per call instead.
Response
List of matching events, with a cursor for the next page.
Example response
{
"data": [
{
"args": {
"args": {
"dest": {
"type": "Id",
"value": "0xc35b9a45aadc8bb998ba7c4d17bda4d7d8e31f90a754a65709d3a3a71ff8fa7a"
},
"value": "117284000000"
},
"hash": "0xb778a81c1fd06d98b5ba1b37bb274101f7905ad5eca960f56ededf26248c4011"
},
"blockHash": "0x758fadeb5004882de8ba39ee2105302ad0ce93ecd68fe26b6fa09de6608e7a77",
"blockNumber": 3172595,
"blockStatus": "proposed",
"blockTimestamp": 1765432302000,
"callIndex": [
0
],
"callName": "TransferKeepAlive",
"callPath": "root",
"extrinsicHash": "0x18acc73c8e38351bc5b266cffacf39944945dd66342dab8ce2f86f2c97b3006f",
"extrinsicIndex": 0,
"extrinsicIsSigned": true,
"extrinsicIsSuccessful": true,
"hash": "0xf54535692c6b98bf9198d98ee28af8bc4d0753da6d42912042561dd8d32f4eca",
"isSuccessful": true,
"palletCallIndex": 0,
"palletIndex": 1,
"palletName": "Balances",
"parentCallHash": "0x9bacc73c8e38351bc5b756cffacf39944945dd66342dab8ce2f86f2c97b3006f",
"specVersion": 2000000
}
],
"pagination": {
"count": 57,
"nextCursor": "eyJjdXJzb3JfcG9zaXRpb24iOnsiYmxvY2tfbnVtYmVyIjozMzY0MzMzLCJibG9ja19oYXNoX2hleCI6IjB4ZjdlMjkyYWQ3ZDNkYzE4MzUzOWYwOGM4NDgwMmNiMDc2ZTc5NjNkYjA2NTA3MjAwNTY1M2NjNWU4YzdkMTE3MyIsImluZGV4IjowfSwicXVlcnkiOnsiaW5jbHVkZV9hcmdzIjpmYWxzZX19",
"pageSize": 1
}
}Changes
- info
added the required property
/to the response with the status
- info
- breaking
removed the required property
//from the response with the status - info
added the required property
//to the response with the status
- breaking