General Informant
- Agent ID
- informant
- APIs
- webhooks, streams
- Networks
- all
Input Arguments
Argument | Description | Required |
---|---|---|
networks | A set of network IDs . | yes |
filter | An event or extrinsic filter expression. See the Filters section . | yes |
You can retrieve the input schema from https://api.ocelloids.net/agents/informant/inputs .
Informant Arguments JSON Schema
{
"type": "object",
"properties": {
"networks": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"filter": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"event",
"extrinsic"
]
},
"match": {
"type": "object"
},
"evm": {
"type": "array",
"items": {
"type": "object",
"properties": {
"abi": {
"type": "object"
},
"addresses": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
},
"required": [
"type",
"match"
],
"additionalProperties": false
}
},
"required": [
"networks",
"filter"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}
Filters
The filter object can be of type event
or extrinsic
.
The match
property is a
MongoDB Query Language
expression over the extended event or flattened extrinsic data.
See Output Payload section for details on the extended event and extrinsic data.
EVM
The property evm
allows to specify ABIs and contract addresses to decode EVM Frontier exstrinsics and events.
Examples
Deposit Events with Amount Condition
This example captures deposit events with amount above certain big number.
{
"id": "my-subscription-id",
"agent": "informant",
"args": {
"networks": [
"urn:ocn:polkadot:0",
"urn:ocn:polkadot:1000"
],
"filter": {
"type": "event",
"match": {
"module": "Balances",
"$or": [
{ "name": "Deposit" },
{ "name": "Transfer" }
],
"value.amount": {
"$bn_gte": "15000000"
}
}
}
},
"channels": [
{
"type":"websocket"
}
]
}
Balance Exstrinsics with Amount and Tip Condition
This example captures balance extrinsics with amount above certain big number.
{
"id": "my-subscription-id",
"agent": "informant",
"args":{
"networks": ["urn:ocn:polkadot:0", "urn:ocn:polkadot:1000"],
"filter": {
"type": "extrinsic",
"match": {
"module": "Balances",
"method": {
"$in": [
"transfer_allow_death",
"transfer_keep_alive"
]},
"args.value": {
"$bn_gte": "15000000"
}
}
}
},
"channels": [
{
"type":"websocket"
}
]
}
Moonbeam StellaSwap Extrinsics
{
"id": "moonbeam-stella-swap",
"agent": "informant",
"args": {
"networks": ["urn:ocn:polkadot:2004"],
"filter": {
"type": "extrinsic",
"match": {
"to": "0x70085a09d30d6f8c4ecf6ee10120d1847383bb57"
},
"evm": [{
"abi": [{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_WETH","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"uint256","name":"amountADesired","type":"uint256"},{"internalType":"uint256","name":"amountBDesired","type":"uint256"},{"internalType":"uint256","name":"amountAMin","type":"uint256"},{"internalType":"uint256","name":"amountBMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"addLiquidity","outputs":[{"internalType":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"amountB","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amountTokenDesired","type":"uint256"},{"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"addLiquidityETH","outputs":[{"internalType":"uint256","name":"amountToken","type":"uint256"},{"internalType":"uint256","name":"amountETH","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"reserveIn","type":"uint256"},{"internalType":"uint256","name":"reserveOut","type":"uint256"}],"name":"getAmountIn","outputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"reserveIn","type":"uint256"},{"internalType":"uint256","name":"reserveOut","type":"uint256"}],"name":"getAmountOut","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsIn","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsOut","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"reserveA","type":"uint256"},{"internalType":"uint256","name":"reserveB","type":"uint256"}],"name":"quote","outputs":[{"internalType":"uint256","name":"amountB","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"amountAMin","type":"uint256"},{"internalType":"uint256","name":"amountBMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"removeLiquidity","outputs":[{"internalType":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"amountB","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"removeLiquidityETH","outputs":[{"internalType":"uint256","name":"amountToken","type":"uint256"},{"internalType":"uint256","name":"amountETH","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"removeLiquidityETHSupportingFeeOnTransferTokens","outputs":[{"internalType":"uint256","name":"amountETH","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bool","name":"approveMax","type":"bool"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"removeLiquidityETHWithPermit","outputs":[{"internalType":"uint256","name":"amountToken","type":"uint256"},{"internalType":"uint256","name":"amountETH","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"amountTokenMin","type":"uint256"},{"internalType":"uint256","name":"amountETHMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bool","name":"approveMax","type":"bool"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"removeLiquidityETHWithPermitSupportingFeeOnTransferTokens","outputs":[{"internalType":"uint256","name":"amountETH","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"amountAMin","type":"uint256"},{"internalType":"uint256","name":"amountBMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bool","name":"approveMax","type":"bool"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"removeLiquidityWithPermit","outputs":[{"internalType":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"amountB","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapETHForExactTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactETHForTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactETHForTokensSupportingFeeOnTransferTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForETH","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForETHSupportingFeeOnTransferTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForTokensSupportingFeeOnTransferTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMax","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapTokensForExactETH","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMax","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapTokensForExactTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}],
"addresses": ["0x70085a09d30d6f8c4ecf6ee10120d1847383bb57"]
},{
"abi": [{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"guy","type":"address"},{"name":"wad","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"src","type":"address"},{"name":"dst","type":"address"},{"name":"wad","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"wad","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"dst","type":"address"},{"name":"wad","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"deposit","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"src","type":"address"},{"indexed":true,"name":"guy","type":"address"},{"indexed":false,"name":"wad","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"src","type":"address"},{"indexed":true,"name":"dst","type":"address"},{"indexed":false,"name":"wad","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"dst","type":"address"},{"indexed":false,"name":"wad","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"src","type":"address"},{"indexed":false,"name":"wad","type":"uint256"}],"name":"Withdrawal","type":"event"}],
"addresses": ["0xacc15dc74880c9944775448304b263d191c6077f", "0x511ab53f793683763e5a8829738301368a2411e3", "0xb536c1f9a157b263b70a9a35705168acc0271742", "0xffffffff1fcacbd218edc0eba20fc2308c778080"]
}]
}
},
"channels": [
{
"type": "websocket"
}
]
}
Output
The output contains metadata and payload.
Metadata
An example of the metadata structure:
{
"type": "extrinsic",
"subscriptionId": "01J28VSJ67CGDE3H1TPFSTQCMJ",
"agentId": "informant",
"networkId": "urn:ocn:polkadot:0",
"timestamp": 1720431987339
}
Check below for example payloads.
Payload: Extended Extrinsics
Example Extended Extrinsic Data
{
"events":[
{
"module":"Balances",
"name":"Withdraw",
"value":{
"who":"13EKL9hQDmwn6PHUhFQEcrFTru647Sw65zwPZxTaeZ8F1MqB",
"amount":"158154905"
},
"blockHash":"0xbbcecfce0b88d27652cff49cce6db95f857b0432cccefab9285a7063db254b92",
"blockNumber":23364438,
"blockPosition":48,
"timestamp":1731325626001
},
{
"module":"Balances",
"name":"Deposit",
"value":{
"who":"13EKL9hQDmwn6PHUhFQEcrFTru647Sw65zwPZxTaeZ8F1MqB",
"amount":"0"
},
"blockHash":"0xbbcecfce0b88d27652cff49cce6db95f857b0432cccefab9285a7063db254b92",
"blockNumber":23364438,
"blockPosition":49,
"timestamp":1731325626001
},
{
"module":"Balances",
"name":"Deposit",
"value":{
"who":"13UVJyLnbVp9RBZYFwFGyDvVd1y27Tt8tkntv6Q7JVPhFsTB",
"amount":"126523924"
},
"blockHash":"0xbbcecfce0b88d27652cff49cce6db95f857b0432cccefab9285a7063db254b92",
"blockNumber":23364438,
"blockPosition":50,
"timestamp":1731325626001
},
{
"module":"Balances",
"name":"Deposit",
"value":{
"who":"16epBRV5x2amiaN5hjh634GuSEM2mjxBbnTFp6mNCfL4Fdfr",
"amount":"31630981"
},
"blockHash":"0xbbcecfce0b88d27652cff49cce6db95f857b0432cccefab9285a7063db254b92",
"blockNumber":23364438,
"blockPosition":51,
"timestamp":1731325626001
},
{
"module":"TransactionPayment",
"name":"TransactionFeePaid",
"value":{
"who":"13EKL9hQDmwn6PHUhFQEcrFTru647Sw65zwPZxTaeZ8F1MqB",
"actual_fee":"158154905",
"tip":"0"
},
"blockHash":"0xbbcecfce0b88d27652cff49cce6db95f857b0432cccefab9285a7063db254b92",
"blockNumber":23364438,
"blockPosition":52,
"timestamp":1731325626001
},
{
"module":"System",
"name":"ExtrinsicSuccess",
"value":{
"dispatch_info":{
"weight":{
"ref_time":"271615000",
"proof_size":"3593"
},
"class":{
"type":"Normal"
},
"pays_fee":{
"type":"Yes"
}
}
},
"blockHash":"0xbbcecfce0b88d27652cff49cce6db95f857b0432cccefab9285a7063db254b92",
"blockNumber":23364438,
"blockPosition":53,
"timestamp":1731325626001
}
],
"dispatchInfo":{
"weight":{
"ref_time":"271615000",
"proof_size":"3593"
},
"class":{
"type":"Normal"
},
"pays_fee":{
"type":"Yes"
}
},
"extrinsic":{
"module":"Balances",
"method":"transfer_keep_alive",
"args":{
"dest":{
"type":"Id",
"value":"13EKL9hQDmwn6PHUhFQEcrFTru647Sw65zwPZxTaeZ8F1MqB"
},
"value":"229115008799"
},
"signed":true,
"address":{
"type":"Id",
"value":"13EKL9hQDmwn6PHUhFQEcrFTru647Sw65zwPZxTaeZ8F1MqB"
},
"signature":{
"type":"Sr25519",
"value":"0x00fa267b2d0559fc8df3f1cef0199294d239a0d10064b9c1805fdcc7eab81b007159c32fcc5e87f8b962b7f9d9fad419bcec63383338a403f7f2dc21b4a54e86"
},
"blockHash":"0xbbcecfce0b88d27652cff49cce6db95f857b0432cccefab9285a7063db254b92",
"blockNumber":23364438,
"blockPosition":2,
"timestamp":1731325626001,
"events":[
{
"module":"Balances",
"name":"Withdraw",
"value":{
"who":"13EKL9hQDmwn6PHUhFQEcrFTru647Sw65zwPZxTaeZ8F1MqB",
"amount":"158154905"
},
"blockHash":"0xbbcecfce0b88d27652cff49cce6db95f857b0432cccefab9285a7063db254b92",
"blockNumber":23364438,
"blockPosition":48,
"timestamp":1731325626001
},
{
"module":"Balances",
"name":"Deposit",
"value":{
"who":"13EKL9hQDmwn6PHUhFQEcrFTru647Sw65zwPZxTaeZ8F1MqB",
"amount":"0"
},
"blockHash":"0xbbcecfce0b88d27652cff49cce6db95f857b0432cccefab9285a7063db254b92",
"blockNumber":23364438,
"blockPosition":49,
"timestamp":1731325626001
},
{
"module":"Balances",
"name":"Deposit",
"value":{
"who":"13UVJyLnbVp9RBZYFwFGyDvVd1y27Tt8tkntv6Q7JVPhFsTB",
"amount":"126523924"
},
"blockHash":"0xbbcecfce0b88d27652cff49cce6db95f857b0432cccefab9285a7063db254b92",
"blockNumber":23364438,
"blockPosition":50,
"timestamp":1731325626001
},
{
"module":"Balances",
"name":"Deposit",
"value":{
"who":"16epBRV5x2amiaN5hjh634GuSEM2mjxBbnTFp6mNCfL4Fdfr",
"amount":"31630981"
},
"blockHash":"0xbbcecfce0b88d27652cff49cce6db95f857b0432cccefab9285a7063db254b92",
"blockNumber":23364438,
"blockPosition":51,
"timestamp":1731325626001
},
{
"module":"TransactionPayment",
"name":"TransactionFeePaid",
"value":{
"who":"13EKL9hQDmwn6PHUhFQEcrFTru647Sw65zwPZxTaeZ8F1MqB",
"actual_fee":"158154905",
"tip":"0"
},
"blockHash":"0xbbcecfce0b88d27652cff49cce6db95f857b0432cccefab9285a7063db254b92",
"blockNumber":23364438,
"blockPosition":52,
"timestamp":1731325626001
},
{
"module":"System",
"name":"ExtrinsicSuccess",
"value":{
"dispatch_info":{
"weight":{
"ref_time":"271615000",
"proof_size":"3593"
},
"class":{
"type":"Normal"
},
"pays_fee":{
"type":"Yes"
}
}
},
"blockHash":"0xbbcecfce0b88d27652cff49cce6db95f857b0432cccefab9285a7063db254b92",
"blockNumber":23364438,
"blockPosition":53,
"timestamp":1731325626001
}
],
"dispatchInfo":{
"weight":{
"ref_time":"271615000",
"proof_size":"3593"
},
"class":{
"type":"Normal"
},
"pays_fee":{
"type":"Yes"
}
}
}
}
Payload: Extended Events
Example Extended Event Data
{
"module":"Balances",
"name":"Deposit",
"value":{
"who":"15jrQX54HczCKJgtYYoKvzJ2kgyCyyA4kyvMv2bC8x9UtDpn",
"amount":"30647531"
},
"blockNumber":23364360,
"blockHash":"0x898dfe9fcf07e6f276813a703254956df6e258195cd0ba8a03748c6cafef3290",
"blockPosition":59,
"timestamp":1731325158000,
"extrinsic":{
"module":"Balances",
"method":"transfer_all",
"args":{
"dest":{
"type":"Id",
"value":"131fPw3RT73ekGDSXA41wwXbEMFPdYQDy5RcE1rGUTmt3J1r"
},
"keep_alive":false
},
"signed":true,
"address":{
"type":"Id",
"value":"1spkWXaybnjc6KZGdqy3JygHfgQuxWSLtQxtjF3YftW1nju"
},
"signature":{
"type":"Sr25519",
"value":"0xd0c7dd1b5f5067d9b0e2430dd09870cff25f89b93ca6eb2832895a27f6bc3006014c756503af3d9d478257b39c8f94c24e121c55c7c9a30926d0d48daab98e87"
},
"blockNumber":23364360,
"blockHash":"0x898dfe9fcf07e6f276813a703254956df6e258195cd0ba8a03748c6cafef3290",
"blockPosition":2,
"timestamp":1731325158000
},
"extrinsicPosition":6
}