Transaction Search allows users to filter and query by account, event type, and date range.
{
"id": "string",
"hash": "string",
"block_hash": "string",
"chain_id": "string",
"time": "2020-10-15T20:38:09.017Z",
"height": 0,
"epoch": "string",
"transaction_fee": [
{
"text": "string",
"currency": "string",
"numeric": {},
"exp": 0
}
],
"events": [
{
"id": "string",
"kind": "string",
"type": [
"string"
],
"module": "string",
"sub": [
{
"id": "string",
"type": [
"string"
],
"module": "string",
"additional": {
"additionalProp1": [
"string"
],
"additionalProp2": [
"string"
],
"additionalProp3": [
"string"
]
},
"amount": {
"additionalProp1": {
"currency": "string",
"exp": 0,
"numeric": {},
"text": "string"
},
"additionalProp2": {
"currency": "string",
"exp": 0,
"numeric": {},
"text": "string"
},
"additionalProp3": {
"currency": "string",
"exp": 0,
"numeric": {},
"text": "string"
}
},
"completion": "2020-10-15T20:38:09.017Z",
"error": {
"message": "string"
},
"node": {
"additionalProp1": [
{
"id": "string"
}
],
"additionalProp2": [
{
"id": "string"
}
],
"additionalProp3": [
{
"id": "string"
}
]
},
"nonce": "string",
"recipient": [
{
"account": {
"id": "string"
},
"amounts": [
{
"currency": "string",
"exp": 0,
"numeric": {},
"text": "string"
}
]
}
],
"sender": [
{
"account": {
"id": "string"
},
"amounts": [
{
"currency": "string",
"exp": 0,
"numeric": {},
"text": "string"
}
]
}
]
}
]
}
],
"raw": [
0
],
"raw_log": [
0
],
"updated_at": "2020-10-15T20:38:09.017Z",
"version": "string",
"has_errors": false,
}
{
"error": "Bad parameters sent"
}
{
"error": "Not acceptable content type"
}
{
"error": "Something bad happened"
}
List of currently supported sub event types in polkadot-worker are (listed by modules):
List of currently supported extrinsic event types in polkadot-worker are (listed by modules):
{
"network": "polkadot",
"type": ["transfer"],
"limit": 1
}
[
{
"id": "60a781c7-8864-4b0a-b631-797aaa89c78a",
"hash": "0x2928c23403c68c36eb03e4f0afefc93ff657387b4e1846922a38231def412390",
"block_hash": "0xf7fbcffe75bcf826501e3c9686e4ae0d751d01d5663994c16f5c0ef9a3499fcf",
"height": 4432200,
"epoch": "303",
"chain_id": "mainnet",
"time": "2021-03-31T19:22:00Z",
"transaction_fee": [
{
"text": "0.0155000016DOT",
"currency": "DOT",
"numeric": 155000016,
"exp": 10
}
],
"version": "0.0.1",
"events": [
{
"id": "4432200-1",
"kind": "Extrinsic",
"type": [
"transfer"
],
"module": "balances",
"sub": [
{
"id": "4432200-1",
"type": [
"killedaccount"
],
"module": "system",
"node": {
"versions": [
{
"id": "13rhEambpf84PevKhSTg7dgjh8pVBp9jTDS5udV92yz7rwqR"
}
]
},
"nonce": "0",
"completion": "2021-03-31T19:22:00Z",
"additional": {
"attributes": [
"{\"name\": \"AccountId\", \"value\": \"13rhEambpf84PevKhSTg7dgjh8pVBp9jTDS5udV92yz7rwqR\"}"
]
}
},
{
"id": "4432200-2",
"type": [
"transfer"
],
"module": "balances",
"sender": [
{
"account": {
"id": "13rhEambpf84PevKhSTg7dgjh8pVBp9jTDS5udV92yz7rwqR"
},
"amounts": [
{
"text": "11.8483936984DOT",
"currency": "DOT",
"numeric": 118483936984,
"exp": 10
}
]
}
],
"recipient": [
{
"account": {
"id": "15P3xxCWPUJHsTN7WEiUtAkskTzN4VgNvrJeFTCt4pzKNWZZ"
},
"amounts": [
{
"text": "11.8483936984DOT",
"currency": "DOT",
"numeric": 118483936984,
"exp": 10
}
]
}
],
"node": {
"recipient": [
{
"id": "15P3xxCWPUJHsTN7WEiUtAkskTzN4VgNvrJeFTCt4pzKNWZZ"
}
],
"sender": [
{
"id": "13rhEambpf84PevKhSTg7dgjh8pVBp9jTDS5udV92yz7rwqR"
}
],
"versions": [
{
"id": "13rhEambpf84PevKhSTg7dgjh8pVBp9jTDS5udV92yz7rwqR"
},
{
"id": "15P3xxCWPUJHsTN7WEiUtAkskTzN4VgNvrJeFTCt4pzKNWZZ"
}
]
},
"nonce": "0",
"completion": "2021-03-31T19:22:00Z",
"amount": {
"0": {
"text": "11.8483936984DOT",
"currency": "DOT",
"numeric": 118483936984,
"exp": 10
}
},
"transfers": {
"15P3xxCWPUJHsTN7WEiUtAkskTzN4VgNvrJeFTCt4pzKNWZZ": [
{
"account": {
"id": "15P3xxCWPUJHsTN7WEiUtAkskTzN4VgNvrJeFTCt4pzKNWZZ"
},
"amounts": [
{
"text": "11.8483936984DOT",
"currency": "DOT",
"numeric": 118483936984,
"exp": 10
}
]
}
]
},
"additional": {
"attributes": [
"{\"name\": \"AccountId\", \"value\": \"13rhEambpf84PevKhSTg7dgjh8pVBp9jTDS5udV92yz7rwqR\"}",
"{\"name\": \"AccountId\", \"value\": \"15P3xxCWPUJHsTN7WEiUtAkskTzN4VgNvrJeFTCt4pzKNWZZ\"}",
"{\"name\": \"Balance\", \"value\": 118483936984}"
]
}
},
{
"id": "4432200-3",
"type": [
"deposit"
],
"module": "balances",
"recipient": [
{
"account": {
"id": "16ZzMovSVVLU5oP2o5PwNG2ybbdT2diiKPAsz6J37myEGsDw"
},
"amounts": [
{
"text": "0.0155000016DOT",
"currency": "DOT",
"numeric": 155000016,
"exp": 10
}
]
}
],
"node": {
"recipient": [
{
"id": "16ZzMovSVVLU5oP2o5PwNG2ybbdT2diiKPAsz6J37myEGsDw"
}
],
"versions": [
{
"id": "16ZzMovSVVLU5oP2o5PwNG2ybbdT2diiKPAsz6J37myEGsDw"
}
]
},
"nonce": "0",
"completion": "2021-03-31T19:22:00Z",
"amount": {
"0": {
"text": "0.0155000016DOT",
"currency": "DOT",
"numeric": 155000016,
"exp": 10
}
},
"transfers": {
"16ZzMovSVVLU5oP2o5PwNG2ybbdT2diiKPAsz6J37myEGsDw": [
{
"account": {
"id": "16ZzMovSVVLU5oP2o5PwNG2ybbdT2diiKPAsz6J37myEGsDw"
},
"amounts": [
{
"text": "0.0155000016DOT",
"currency": "DOT",
"numeric": 155000016,
"exp": 10
}
]
}
]
},
"additional": {
"attributes": [
"{\"name\": \"AccountId\", \"value\": \"16ZzMovSVVLU5oP2o5PwNG2ybbdT2diiKPAsz6J37myEGsDw\"}",
"{\"name\": \"Balance\", \"value\": 155000016}"
]
}
},
{
"id": "4432200-4",
"type": [
"extrinsicsuccess"
],
"module": "system",
"nonce": "0",
"completion": "2021-03-31T19:22:00Z",
"additional": {
"attributes": [
"{\"name\": \"DispatchInfo\", \"value\": {\"weight\":202714000,\"class\":\"Normal\",\"paysFee\":\"Yes\"}}"
]
}
}
]
}
],
"has_errors": false
}
]
If you need help with this API or simply want to share with other builders, you can join our community today!