Get extrinsics
Returns all extrinsics from the database that satisfy the query parameters. It will return a paginated response, ordered descending by block number and ascending extrinsic index.
Request
- Base URL: https://bridge-hub.polkadot.crystal.api.submerge.io/v1
- URL: https://bridge-hub.polkadot.crystal.api.submerge.io/v1/extrinsics
- Auth: none declared
Query parameters
Opaque cursor for extrinsic 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 extrinsics per page to be returned.
Filter extrinsics by minimum block number.
Filter extrinsics by maximum block number.
Filter extrinsics by minimum block timestamp. In milliseconds.
Filter extrinsics by maximum block timestamp. In milliseconds.
Filter extrinsics by minimum runtime spec version.
Filter extrinsics by maximum runtime spec version.
Whether to include only signed/unsigned extrinsics.
Filter extrinsics by signer. Either of the following:
- Signer's Substrate SS58 address string (e.g. 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY).
- Signer's Substrate account id encoded as a hexadecimal string (e.g. 0x008d8404893c7b4b80f397605cc96e61fec3c89676c8c2794a2a7d281d678b1a).
- Signer's address encoded as a hexadecimal string with optional 0x prefix (e.g. 0x008d8404893c7b4b80f397605cc96e61fec3c89676c8c2794a2a7d281d678b1a).
Response
List of matching extrinsics, with a cursor for the next page.
Example response
{
"data": [
{
"blockHash": "0x758fadeb5004882de8ba39ee2105302ad0ce93ecd68fe26b6fa09de6608e7a77",
"blockNumber": 3172595,
"blockStatus": "proposed",
"blockTimestamp": 1765432302000,
"extra": {
"chargeAssetTxPayment": {
"assetId": null,
"tip": "0"
},
"checkGenesis": {},
"checkMetadataHash": {
"mode": {
"type": "Disabled",
"value": []
}
},
"checkMortality": {
"type": "Mortal84",
"value": "0"
},
"checkNonZeroSender": {},
"checkNonce": "8362",
"checkSpecVersion": {},
"checkTxVersion": {},
"checkWeight": {}
},
"hash": "0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3",
"index": 2,
"isSuccessful": true,
"signature": {
"type": "sr25519",
"value": "0xabababababababababababababababababababababababababababababababababababababababababababababababababababababababababababababababab"
},
"signer": {
"type": "accountId",
"value": "0x269a84431cd8dfc5762beadfa54a8f21597c12d4f31e51f9f6f985f65ba0c626"
},
"specVersion": 2000000,
"traceIndex": 2,
"version": 4
}
],
"pagination": {
"count": 57,
"nextCursor": "eyJjdXJzb3JfcG9zaXRpb24iOnsiYmxvY2tfbnVtYmVyIjozMzY0MzMzLCJibG9ja19oYXNoX2hleCI6IjB4ZjdlMjkyYWQ3ZDNkYzE4MzUzOWYwOGM4NDgwMmNiMDc2ZTc5NjNkYjA2NTA3MjAwNTY1M2NjNWU4YzdkMTE3MyIsImluZGV4IjowfSwicXVlcnkiOnsiaW5jbHVkZV9hcmdzIjpmYWxzZX19",
"pageSize": 1
}
}Changes
No recorded changes to this operation across all 1 revision of this API.