subscan-essentials
subscan-essentials copied to clipboard
Cannot get details of old block
Goal:
get the list of transfer made in block 100 - 1000 where current block number is 1m+
Endpoint used:
/api/v2/scan/transfer
{
"from_block": 100,
"to_block": 1000,
"row": 50,
"page": 1,
}
Expected
List of transfers made in given block range.
[
{
'extrinsic_index': 100-2,
// ....
},
{
'extrinsic_index': 101-2,
// ....
}
]
Actual response
[
{
'extrinsic_index': 1563546-2,
// ....
},
{
'extrinsic_index': 1563547-2,
// ....
}
]
Subscan is connected to archive node so state should also be present in the underlying node subscan connects to.