post https://polygon-mainnet.unifra.io/v1/
Polygon API - Returns all transaction receipts for the given block number or hash
Parameters
block_number in hex OR block_hash
Returns
Array of transaction receipt objects
Example
Request
curl https://polygon-mainnet.unifra.io/v1/your-api-key \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getTransactionReceiptsByBlock","params":["0x989689"], "id":1}'
URL: https://polygon-mainnet.unifra.io/v1/your-api-key
RequestType: POST
Body:
{
"jsonrpc":"2.0",
"method":"eth_getTransactionReceiptsByBlock",
"params":["0x989689"],
"id":1
}
Result
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"blockHash": "0x224c0c3153d6bf1f45f461053aee6cbf71e5b5209685c91d81c288b59c82fb47",
"blockNumber": "0x989689",
"contractAddress": null,
"cumulativeGasUsed": "0x63ee1",
"from": "0x7b5fc677cf27a807adf2ebcef72db3b935df6c0a",
"gasUsed": "0x63ee1",
"logs": [
{
"address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"topics": [
"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
"0x0000000000000000000000003d8a89a20aa73fba0f30d080e8120de9f9555724",
"0x000000000000000000000000170f88be2538b8aca98a87c1b186ce5f773cc028"
],
"data": "0x000000000000000000000000000000000000000000000000000000007dd34dc0",
"blockNumber": "0x989689",
"transactionHash": "0x19a2ba50b19ee8ed28fb902fe8cd0a64b0f7a4fe01281e70e2387fdd00ffd5f0",
"transactionIndex": "0x0",
"blockHash": "0x224c0c3153d6bf1f45f461053aee6cbf71e5b5209685c91d81c288b59c82fb47",
"logIndex": "0x0",
"removed": false
},
{
"address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000003d8a89a20aa73fba0f30d080e8120de9f9555724",
"0x000000000000000000000000170f88be2538b8aca98a87c1b186ce5f773cc028"
],
"data": "0x000000000000000000000000000000000000000000000000000000007dd34dc0",
"blockNumber": "0x989689",
"transactionHash": "0x19a2ba50b19ee8ed28fb902fe8cd0a64b0f7a4fe01281e70e2387fdd00ffd5f0",
"transactionIndex": "0x0",
"blockHash": "0x224c0c3153d6bf1f45f461053aee6cbf71e5b5209685c91d81c288b59c82fb47",
"logIndex": "0x1",
"removed": false
},
{
"address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"topics": [
"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
"0x0000000000000000000000003d8a89a20aa73fba0f30d080e8120de9f9555724",
"0x000000000000000000000000170f88be2538b8aca98a87c1b186ce5f773cc028"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000000",
"blockNumber": "0x989689",
"transactionHash": "0x19a2ba50b19ee8ed28fb902fe8cd0a64b0f7a4fe01281e70e2387fdd00ffd5f0",
"transactionIndex": "0x0",
"blockHash": "0x224c0c3153d6bf1f45f461053aee6cbf71e5b5209685c91d81c288b59c82fb47",
"logIndex": "0x2",
"removed": false
},
{
"address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"topics": [
"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
"0x000000000000000000000000170f88be2538b8aca98a87c1b186ce5f773cc028",
"0x0000000000000000000000004d97dcd97ec945f40cf65f87097ace5ea0476045"
],
"data": "0x000000000000000000000000000000000000000000000000000000007dd34dc0",
"blockNumber": "0x989689",
"transactionHash": "0x19a2ba50b19ee8ed28fb902fe8cd0a64b0f7a4fe01281e70e2387fdd00ffd5f0",
"transactionIndex": "0x0",
"blockHash": "0x224c0c3153d6bf1f45f461053aee6cbf71e5b5209685c91d81c288b59c82fb47",
"logIndex": "0x3",
"removed": false
},
{
"address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000170f88be2538b8aca98a87c1b186ce5f773cc028",
"0x0000000000000000000000004d97dcd97ec945f40cf65f87097ace5ea0476045"
],
"data": "0x000000000000000000000000000000000000000000000000000000007dd34dc0",
"blockNumber": "0x989689",
"transactionHash": "0x19a2ba50b19ee8ed28fb902fe8cd0a64b0f7a4fe01281e70e2387fdd00ffd5f0",
"transactionIndex": "0x0",
"blockHash": "0x224c0c3153d6bf1f45f461053aee6cbf71e5b5209685c91d81c288b59c82fb47",
"logIndex": "0x4",
"removed": false
},
{
"address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"topics": [
"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
"0x000000000000000000000000170f88be2538b8aca98a87c1b186ce5f773cc028",
"0x0000000000000000000000004d97dcd97ec945f40cf65f87097ace5ea0476045"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000000",
"blockNumber": "0x989689",
"transactionHash": "0x19a2ba50b19ee8ed28fb902fe8cd0a64b0f7a4fe01281e70e2387fdd00ffd5f0",
"transactionIndex": "0x0",
"blockHash": "0x224c0c3153d6bf1f45f461053aee6cbf71e5b5209685c91d81c288b59c82fb47",
"logIndex": "0x5",
"removed": false
},
{
"address": "0x4d97dcd97ec945f40cf65f87097ace5ea0476045",
"topics": [
"0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb",
"0x000000000000000000000000170f88be2538b8aca98a87c1b186ce5f773cc028",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x000000000000000000000000170f88be2538b8aca98a87c1b186ce5f773cc028"
],
"data": "0x000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000239452b461f6d1a911080d87ceec9e2d988aa2533f71478dd340ea5b887011c808669b451aa838890f860952c26092f53231c81a4091fef087b29548325b0d7210000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000007dd34dc0000000000000000000000000000000000000000000000000000000007dd34dc0",
"blockNumber": "0x989689",
"transactionHash": "0x19a2ba50b19ee8ed28fb902fe8cd0a64b0f7a4fe01281e70e2387fdd00ffd5f0",
"transactionIndex": "0x0",
"blockHash": "0x224c0c3153d6bf1f45f461053aee6cbf71e5b5209685c91d81c288b59c82fb47",
"logIndex": "0x6",
"removed": false
},
{
"address": "0x4d97dcd97ec945f40cf65f87097ace5ea0476045",
"topics": [
"0x2e6bb91f8cbcda0c93623c54d0403a43514fabc40084ec96b6d5379a74786298",
"0x000000000000000000000000170f88be2538b8aca98a87c1b186ce5f773cc028",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0xb6efcb062820c882a6a7c4753c1160fe7d00e46608c5b945e7881f091f2316e5"
],
"data": "0x0000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa841740000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000007dd34dc0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002",
"blockNumber": "0x989689",
"transactionHash": "0x19a2ba50b19ee8ed28fb902fe8cd0a64b0f7a4fe01281e70e2387fdd00ffd5f0",
"transactionIndex": "0x0",
"blockHash": "0x224c0c3153d6bf1f45f461053aee6cbf71e5b5209685c91d81c288b59c82fb47",
"logIndex": "0x7",
"removed": false
},
{
"address": "0x170f88be2538b8aca98a87c1b186ce5f773cc028",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000003d8a89a20aa73fba0f30d080e8120de9f9555724"
],
"data": "0x000000000000000000000000000000000000000000000000000000005b7dfb2c",
"blockNumber": "0x989689",
"transactionHash": "0x19a2ba50b19ee8ed28fb902fe8cd0a64b0f7a4fe01281e70e2387fdd00ffd5f0",
"transactionIndex": "0x0",
"blockHash": "0x224c0c3153d6bf1f45f461053aee6cbf71e5b5209685c91d81c288b59c82fb47",
"logIndex": "0x8",
"removed": false
},
{
"address": "0x4d97dcd97ec945f40cf65f87097ace5ea0476045",
"topics": [
"0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb",
"0x000000000000000000000000170f88be2538b8aca98a87c1b186ce5f773cc028",
"0x000000000000000000000000170f88be2538b8aca98a87c1b186ce5f773cc028",
"0x0000000000000000000000003d8a89a20aa73fba0f30d080e8120de9f9555724"
],
"data": "0x000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000239452b461f6d1a911080d87ceec9e2d988aa2533f71478dd340ea5b887011c808669b451aa838890f860952c26092f53231c81a4091fef087b29548325b0d72100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003b4c5777",
"blockNumber": "0x989689",
"transactionHash": "0x19a2ba50b19ee8ed28fb902fe8cd0a64b0f7a4fe01281e70e2387fdd00ffd5f0",
"transactionIndex": "0x0",
"blockHash": "0x224c0c3153d6bf1f45f461053aee6cbf71e5b5209685c91d81c288b59c82fb47",
"logIndex": "0x9",
"removed": false
},
{
"address": "0x170f88be2538b8aca98a87c1b186ce5f773cc028",
"topics": [
"0xec2dc3e5a3bb9aa0a1deb905d2bd23640d07f107e6ceb484024501aad964a951",
"0x0000000000000000000000003d8a89a20aa73fba0f30d080e8120de9f9555724"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000005b7dfb2c0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000007dd34dc0000000000000000000000000000000000000000000000000000000004286f649",
"blockNumber": "0x989689",
"transactionHash": "0x19a2ba50b19ee8ed28fb902fe8cd0a64b0f7a4fe01281e70e2387fdd00ffd5f0",
"transactionIndex": "0x0",
"blockHash": "0x224c0c3153d6bf1f45f461053aee6cbf71e5b5209685c91d81c288b59c82fb47",
"logIndex": "0xa",
"removed": false
},
{
"address": "0xd216153c06e857cd7f72665e0af1d7d82172f494",
"topics": [
"0xab74390d395916d9e0006298d47938a5def5d367054dcca78fa6ec84381f3f22",
"0x0000000000000000000000007b5fc677cf27a807adf2ebcef72db3b935df6c0a",
"0x000000000000000000000000671da88c76061a1f0683127a1c6e1dd1a79db621",
"0x000000000000000000000000ab45c5a4b0c941a2f231c04c3f49182e1a254052"
],
"data": "0x34ee97910000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006d895ea20aa80",
"blockNumber": "0x989689",
"transactionHash": "0x19a2ba50b19ee8ed28fb902fe8cd0a64b0f7a4fe01281e70e2387fdd00ffd5f0",
"transactionIndex": "0x0",
"blockHash": "0x224c0c3153d6bf1f45f461053aee6cbf71e5b5209685c91d81c288b59c82fb47",
"logIndex": "0xb",
"removed": false
},
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000007b5fc677cf27a807adf2ebcef72db3b935df6c0a",
"0x000000000000000000000000c6869257205e20c2a43cb31345db534aecb49f6e"
],
"data": "0x0000000000000000000000000000000000000000000000000003a2ab85ead90000000000000000000000000000000000000000000000000203f61a3a8191a0aa0000000000000000000000000000000000000000000000004ea18c6904e776cc00000000000000000000000000000000000000000000000203f2778efba6c7aa0000000000000000000000000000000000000000000000004ea52f148ad24fcc",
"blockNumber": "0x989689",
"transactionHash": "0x19a2ba50b19ee8ed28fb902fe8cd0a64b0f7a4fe01281e70e2387fdd00ffd5f0",
"transactionIndex": "0x0",
"blockHash": "0x224c0c3153d6bf1f45f461053aee6cbf71e5b5209685c91d81c288b59c82fb47",
"logIndex": "0xc",
"removed": false
}
],
"logsBloom": "0x0400000002000000000100000000000000000000000000001000000000104000000000000000000001000020200000001000800000000000001008014020004000000000001000000000000c000200840000000000000000202100000000000000000000020000000001000000000800000000000800000980100010000000002001000000000000000000000000000000100000020000000000000000000000220000000400000000000000008001000008000000000020000000000000004000000002000000000001000000000000000404000600000000100000100020000010008000002000040000000000000010000000000000008000100002100000",
"status": "0x1",
"to": "0xd216153c06e857cd7f72665e0af1d7d82172f494",
"transactionHash": "0x19a2ba50b19ee8ed28fb902fe8cd0a64b0f7a4fe01281e70e2387fdd00ffd5f0",
"transactionIndex": "0x0"
}
]
}