improved
Dec, 05, 2023 - Webhook GUI added & Websocket/Webhook API response has been changed
12 months ago by Damon Yoon
2023년 12월 1일, 공지드렸던 내용에 따라 유저가 더욱 효율적으로 Webhook과 Websocket을 이용할 수 있도록 업데이트가 되었습니다. 변경된 사항은 다음과 같습니다.
What has changed?
Webhook GUI 관리 기능 추가
이제 손쉽게 Webhook 생성, 수정 및 삭제할 수 있습니다. 콘솔에서 원하는 이벤트를 구독하여 알림을 받아보세요!
Improved
Webhook / Websocket의 Reponse Field 변경
Webhook과 Websocket은 eventType에 따라 response를 반환합니다. 각 eventType에 대한 설명은 아래 링크를 클릭하여 확인할 수 있습니다.
ADDRESS_ACTIVITY
추가되는 필드 | 삭제되는 필드 |
---|---|
revert_reason | trace_index |
author | item_id |
item_timestamp |
{
"subscriptionId": "97581",
"description": "",
"protocol": "ETHEREUM",
"network": "SEPOLIA",
"subscriptionType": "WEBHOOK",
"notification": {
"webhookUrl": "https://webhook.test.server/addressactivity"
},
"eventType": "ADDRESS_ACTIVITY",
"createdAt": "2023-11-30T09:12:16.152Z",
"event": {
"targetAddress": "0x95ff8d3ce9dcb7455beb7845143bea84fe5c4f6f",
"message": {
"block_hash": "0x29f45e3964f679a69c334c64b7ca0f3e22b7a5c52d75b82f02c4b2e0edaa8d96",
"block_number": 4794380,
"block_timestamp": 1701335436,
"transaction_index": 46,
"transaction_hash": "0xe23d2ad087889cd80fe299c52354083651eb3e83bfd18a82d3400849c0b22214",
"from_address": "0x95ff8d3ce9dcb7455beb7845143bea84fe5c4f6f",
"to_address": "0x6b390878acf6e3adf5faeb4771c6fb6be518d569",
"value": "0",
"input": "0x656b06a40000000000000000000000000000000000000000000000000000000000aa36a770726f6f665f7665726966696572000000000000000000000000000000000000",
"output": "0x000000000000000000000000dc396c7478c5c985fc19386bdd29370e10572ed9",
"trace_type": "call",
"call_type": "staticcall",
"gas": 31712,
"gas_used": 3339,
"subtraces": 1,
"trace_address": [
0,
1,
0,
0
],
"error": null,
"status": 1,
"revert_reason": null,
"trace_id": "call_4794380_46_0_1_0_0",
"reward_type": null,
"type": "trace" | "transaction" | "erc20" | "erc721" | "erc1155",
"author": null
}
}
}
{
"subscriptionId":"34",
"description":"TEST_DESCRIPTION",
"protocol":"ETHEREUM",
"network":"MAINNET",
"subscriptionType":"WEBHOOK",
"notification":{
"webhookUrl":"https://webhook.test.server/addressactivity"
},
"eventType":"ADDRESS_ACTIVITY",
"createdAt":"2023-04-21T10:52:53.040Z",
"event":{
"targetAddress":"0x56eddb7aa87536c09ccc2793473599fd21a8b17f",
"message":{
"type":"trace",
"transaction_index":49,
"from_address":"0x56eddb7aa87536c09ccc2793473599fd21a8b17f",
"to_address":"0x97169839c817dd38382b497d1552a7e61b33d995",
"value":19037840000000000,
"input":"0x",
"output":"0x",
"trace_type":"call",
"call_type":"call",
"reward_type":null,
"gas":186128,
"gas_used":0,
"subtraces":0,
"trace_address":[
0
],
"error":null,
"status":1,
"transaction_hash":"0xd17f79589038d6435b480045723cc039c955609af82254b3e09ba8f7529473ef",
"block_number":17094288,
"trace_id":"call_0xd17f79589038d6435b480045723cc039c955609af82254b3e09ba8f7529473ef_",
"trace_index":156,
"block_timestamp":1682074271,
"block_hash":"0x5dac10380f08d9311cd55f3f7b31c36a6e17088f89e42d4a4e9e8d841335125f",
"item_id":"trace_call_0xd17f79589038d6435b480045723cc039c955609af82254b3e09ba8f7529473ef_",
"item_timestamp":"2023-04-21T10:51:11Z"
}
}
}
TRANSACTION (Webhook Only)
추가되는 필드 | 삭제되는 필드 |
---|---|
access_list | item_id |
item_timestamp |
{
"subscriptionId": "97583",
"description": "",
"protocol": "ETHEREUM",
"network": "SEPOLIA",
"subscriptionType": "WEBHOOK",
"notification": {
"webhookUrl": "https://webhook.site/3615f3c1-5624-4946-be38-17f4c2244a9a"
},
"eventType": "TRANSACTION",
"createdAt": "2023-11-30T09:41:51.624Z",
"event": {
"message": {
"block_hash": "0xe39acd8b55c80823cfc474cf5553b739a5051299e33531659a00d4d0254e3312",
"block_number": 4794509,
"block_timestamp": 1701337212,
"from_address": "0xe383d496e2f416b151c593fff105c5df2b26d301",
"gas": 140874,
"gas_price": 1786633056,
"hash": "0xe399612da610d840dfd434b79cda115e778d55721987f0eeff409d417d086f4a",
"input": "0x439370b1",
"max_fee_per_gas": 1933327694,
"max_priority_fee_per_gas": 1500000000,
"nonce": 188,
"receipt_contract_address": null,
"receipt_cumulative_gas_used": 3058229,
"receipt_effective_gas_price": 1786633056,
"receipt_gas_used": 92933,
"receipt_root": null,
"receipt_status": 1,
"to_address": "0xcff97680b719747037373b80c15e4dd251c9fd83",
"transaction_index": 11,
"transaction_type": 2,
"value": "100000000000000000",
"access_list": [],
"type": "transaction"
}
}
}
{
"subscriptionId":"35",
"description":"TEST_DESCRIPTION",
"protocol":"ETHEREUM",
"network":"MAINNET",
"subscriptionType":"WEBHOOK",
"notification":{
"webhookUrl":"https://webhook.test.server/minedtransaction"
},
"eventType":"TRANSACTION",
"createdAt":"2023-04-11T10:52:52.738Z",
"event":{
"message":{
"type":"transaction",
"hash":"0xd17f79589038d6435b480045723cc039c955609af82254b3e09ba8f7529473ef",
"nonce":4702768,
"transaction_index":49,
"from_address":"0x56eddb7aa87536c09ccc2793473599fd21a8b17f",
"to_address":"0x97169839c817dd38382b497d1552a7e61b33d995",
"value":19037840000000000,
"gas":207128,
"gas_price":46391309366,
"input":"0x",
"block_timestamp":1682074271,
"block_number":17094288,
"block_hash":"0x5dac10380f08d9311cd55f3f7b31c36a6e17088f89e42d4a4e9e8d841335125f",
"max_fee_per_gas":102000000000,
"max_priority_fee_per_gas":2000000000,
"transaction_type":2,
"receipt_cumulative_gas_used":2933504,
"receipt_gas_used":21000,
"receipt_contract_address":null,
"receipt_root":null,
"receipt_status":1,
"receipt_effective_gas_price":46391309366,
"item_id":"transaction_0xd17f79589038d6435b480045723cc039c955609af82254b3e09ba8f7529473ef",
"item_timestamp":"2023-04-21T10:51:11Z"
}
}
}
MINED_TRANSACTION
추가되는 필드 | 삭제되는 필드 |
---|---|
access_list | item_id |
item_timestamp |
{
"subscriptionId": "97584",
"description": "",
"protocol": "ETHEREUM",
"network": "SEPOLIA",
"subscriptionType": "WEBHOOK",
"notification": {
"webhookUrl": "https://webhook.site/3615f3c1-5624-4946-be38-17f4c2244a9a"
},
"eventType": "MINED_TRANSACTION",
"createdAt": "2023-11-30T09:48:25.338Z",
"event": {
"targetAddress": "0x1fc35b79fb11ea7d4532da128dfa9db573c51b09",
"message": {
"block_hash": "0x9d39434c67d75f87baaf477e4e9d920d2399e2f91038bf4131e71d19f733cb66",
"block_number": 4794540,
"block_timestamp": 1701337608,
"from_address": "0x1fc35b79fb11ea7d4532da128dfa9db573c51b09",
"gas": 22000,
"gas_price": 3185287519,
"hash": "0xce9c42711494c8bf980f5371caddca6695a411c3d4ea0559c20da01a2061c8b0",
"input": "0x",
"max_fee_per_gas": 5000000000,
"max_priority_fee_per_gas": 1000000000,
"nonce": 5807994,
"receipt_contract_address": null,
"receipt_cumulative_gas_used": 2297568,
"receipt_effective_gas_price": 3185287519,
"receipt_gas_used": 21000,
"receipt_root": null,
"receipt_status": 1,
"to_address": "0xa218cf1d223d87083f89bf5734524644f6cf594c",
"transaction_index": 26,
"transaction_type": 2,
"value": "500000000000000000",
"access_list": [],
"type": "transaction"
}
}
}
{
"subscriptionId":"34",
"description":"TEST_DESCRIPTION",
"protocol":"ETHEREUM",
"network":"MAINNET",
"subscriptionType":"WEBHOOK",
"notification":{
"webhookUrl":"https://webhook.test.server/minedtransaction"
},
"eventType":"MINED_TRANSACTION",
"createdAt":"2023-04-21T10:52:52.738Z",
"event":{
"targetAddress":"0x56eddb7aa87536c09ccc2793473599fd21a8b17f",
"message":{
"type":"transaction",
"hash":"0xd17f79589038d6435b480045723cc039c955609af82254b3e09ba8f7529473ef",
"nonce":4702768,
"transaction_index":49,
"from_address":"0x56eddb7aa87536c09ccc2793473599fd21a8b17f",
"to_address":"0x97169839c817dd38382b497d1552a7e61b33d995",
"value":19037840000000000,
"gas":207128,
"gas_price":46391309366,
"input":"0x",
"block_timestamp":1682074271,
"block_number":17094288,
"block_hash":"0x5dac10380f08d9311cd55f3f7b31c36a6e17088f89e42d4a4e9e8d841335125f",
"max_fee_per_gas":102000000000,
"max_priority_fee_per_gas":2000000000,
"transaction_type":2,
"receipt_cumulative_gas_used":2933504,
"receipt_gas_used":21000,
"receipt_contract_address":null,
"receipt_root":null,
"receipt_status":1,
"receipt_effective_gas_price":46391309366,
"item_id":"transaction_0xd17f79589038d6435b480045723cc039c955609af82254b3e09ba8f7529473ef",
"item_timestamp":"2023-04-21T10:51:11Z"
}
}
}
TOKEN_TRANSFER
삭제되는 필드 | 변경되는 필드 |
---|---|
item_id | type (token_transfer -> erc20 | erc721 | erc1155) |
item_timestamp | |
block_hash |
{
"subscriptionId": "97587",
"description": "",
"protocol": "ETHEREUM",
"network": "MAINNET",
"subscriptionType": "WEBHOOK",
"notification": {
"webhookUrl": "https://webhook.site/3615f3c1-5624-4946-be38-17f4c2244a9a"
},
"eventType": "TOKEN_TRANSFER",
"createdAt": "2023-11-30T10:09:53.807Z",
"event": {
"targetAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"message": {
"token_address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"from_address": "0x1517eceac4b41205de0cacde289d5b58a79dd03b",
"to_address": "0x974caa59e49682cda0ad2bbe82983419a2ecc400",
"value": "10000000",
"transaction_hash": "0x899d572bb5167272da1b951bd5bad7a094a33f52b648f368f8439e64382aa472",
"log_index": 127,
"block_number": 18683727,
"block_timestamp": 1701338891,
"operator" : //"erc1155" only
"token_id" : //"erc721" | "erc1155" only
"type": "erc20" | "erc721" | "erc1155"
}
}
}
{
"subscriptionId":"38",
"description":"TEST_DESCRIPTION",
"protocol":"ETHEREUM",
"network":"MAINNET",
"subscriptionType":"WEBHOOK",
"notification":{
"webhookUrl":"https://webhook.test.server/tokentransfer"
},
"eventType":"TOKEN_TRANSFER",
"createdAt":"2023-04-21T11:45:40.636Z",
"event":{
"targetAddress":"0xdac17f958d2ee523a2206206994597c13d831ec7",
"message":{
"type":"token_transfer",
"token_address":"0xdac17f958d2ee523a2206206994597c13d831ec7",
"from_address":"0x74de5d4fcbf63e00296fd95d33236b9794016631",
"to_address":"0xdf5dccc737705614a87f179ec5b24b40988d5ec9",
"value":1997957346,
"transaction_hash":"0x162d1978aa9b321676eae6c4df2b3fe44971431ea5a4e4a639ea43e5280b2091",
"log_index":150,
"block_number":17094545,
"block_timestamp":1682077439,
"block_hash":"0xc1bbc0a26fbad022fe4b73b4c629427628d01f6b0bed6a127fc76bb2a45ac3fe",
"item_id":"token_transfer_0x162d1978aa9b321676eae6c4df2b3fe44971431ea5a4e4a639ea43e5280b2091_150",
"item_timestamp":"2023-04-21T11:43:59Z"
}
}
}
BELOW_THRESHOLD_BALANCE
추가되는 필드 |
---|
subscriptionType |
{
"subscriptionId": "97589",
"description": "",
"protocol": "ETHEREUM",
"network": "SEPOLIA",
"subscriptionType": "WEBHOOK",
"notification": {
"webhookUrl": "https://webhook.site/e79578a3-d261-42d7-ba10-b2048385ca16"
},
"eventType": "BELOW_THRESHOLD_BALANCE",
"createdAt": "2023-12-01T02:09:11.531Z",
"event": {
"message": {
"type": "belowThresholdBalance",
"address": "0xf1572c2B0C2C21b87c8CE06f34d16705E3d97111",
"threshold": "1",
"balance": "0"
}
}
}
{
subscriptionId: "55",
description: "TEST_DESCRIPTION",
protocol: "ETHEREUM",
network: "MAINNET",
notification: {
webhookUrl: "https://webhook.test.server/balance",
},
eventType: "BELOW_THRESHOLD_BALANCE",
createdAt: "2023-04-25T07:06:01.193Z",
event: {
message: {
type: "belowThresholdBalance",
address: "0xBA826fEc90CEFdf6706858E5FbaFcb27A290Fbe0",
threshold: "3932198180400855840",
balance: "293219818040085584"
}
}
}
BLOCK_PERIOD
추가되는 필드 | 삭제되는 필드 | 변경되는 필드 |
---|---|---|
mix_hash | item_id | total_difficulty (number -> string) |
transactions | item_timestamp | |
log_count | ||
withdrawals_root | ||
withdrawal_count |
{
"subscriptionId": "97590",
"description": "",
"protocol": "ETHEREUM",
"network": "SEPOLIA",
"subscriptionType": "WEBHOOK",
"notification": {
"webhookUrl": "https://webhook.site/e79578a3-d261-42d7-ba10-b2048385ca16"
},
"eventType": "BLOCK_PERIOD",
"createdAt": "2023-12-01T04:45:54.916Z",
"event": {
"period": 1,
"message": {
"parent_hash": "0xcbac2301399ea843e7e18657ed55cd8805aa68b12f3195c5c255c5e2924d3545",
"sha3_uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"miner": "0x455e5aa18469bc6ccef49594645666c587a3a71b",
"state_root": "0xa53549308e151001c636742bece31d549e17e866daa9724b23ac5c200ce6f0a9",
"transactions_root": "0xe8123165a17c7865f064429e19e75a7c57badf261d90288ba7def66855ada7c1",
"receipts_root": "0x87c1c4576dbf6a7fab26a8a8eea695e80d92dfd59ba4949a9fa47e460d0aadb9",
"logs_bloom": "0x010102000411100000080001000808001040420090202084028000424000451060002202160402000100020200080050100304000202000012010109006001260203001004c1800022840008000048000001000080800080002040018000000804000400020500040080028510000a100281108040550200008000108000027002400108080500002080124000004300500000089000810008013000044400a12a0a00070416000200000402000000800040207000000001000000690402020010020026400000180400000002014010088200040000000000009000801420248096000024002001004201000000000020528208001010001448200000004004",
"difficulty": "0",
"gas_limit": 30000000,
"gas_used": 12328747,
"extra_data": "0xd883010d05846765746888676f312e32312e34856c696e7578",
"mix_hash": "0x327dfefae1652787b0110f778534f2b6e0731f84cf9e544508b7150bc295fb28",
"nonce": "0x0000000000000000",
"hash": "0x22f6b301ad714f64ba9fc3135f475f588ef775f6f37275d6c36defb311c70fb9",
"size": 53509,
"total_difficulty": "17000018015853232",
"transactions": [
"0xc5fe15a32aa1e8ec17f06709ad0ccc8cc44bb0091a03546570053e5a9a1ef502",
...
"0x84bcd970323a9ae5fe456e7dac12435a0edc2cb76b00044790e79ab4fcbbf960"
],
"transaction_count": 61,
"log_count": 39,
"base_fee_per_gas": 194932824,
"withdrawals_root": "0xc8e9d164a2ef385c3c2150a9845ac19c51d2541e5065f2efc73c0b13a2d85a6b",
"withdrawal_count": 16,
"type": "block",
"number": 4799577,
"timestamp": 1701405828,
"l1_block_number":18690574 (optional, only l2 chains)
}
}
}
{
"subscriptionId":"312",
"description":"TEST_DESCRIPTION",
"protocol":"ETHEREUM",
"network":"MAINNET",
"subscriptionType":"WEBHOOK",
"notification":{
"webhookUrl":"https://webhook.test.server/block"
},
"eventType":"BLOCK_PERIOD",
"createdAt":"2023-04-21T09:46:26.419Z",
"event":{
"period":1,
"message":{
"type":"block",
"number":17093961,
"hash":"0x79571a418b617b59739066761d7368d3287bae0a40d2a19494d12a9174c7e513",
"parent_hash":"0x7808bafa70cb77641231881ca7793687e3e36b669a10a36fad90bb8c21b0ee48",
"nonce":"0x0000000000000000",
"sha3_uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"logs_bloom":"0x99a14b3f51101616720552aca1304abba4e07d225c541a1030ab82973f88e6a4700677c0c5940d20e1d39b5bc6222f4406d7d0618a653be52774402315aca91924a2c11edd0e5cad2f8b56ab4a18a4e401bdaa0064459f1817396cd5dce0080e1a795b58b2026583165610882c728fcd6031f66daa30ae0c93ad77da055f82745c0183f07808ab0c06f484ab328ae4064c2b30c1c14909d9687b68df70f31a38eabb19404930ef4b9a1e58e23d930e8745c65288f986703bd7715dc2048acc4953aa4c12744788e815841b18a6efb224c76e460657682ab93a16a62ae251685b55fabe299d848cdd3a8cf7a85001323b9437801971a81b74001d7f0db269bdc5",
"transactions_root":"0x0750e5d04fffd3b95f229bb52c5bc495e3c2516bf21c679c391c023703b4da7d",
"state_root":"0xb0eed3120001d3b24f60ddc432d3cba138a9291bafd7766a214ca82be58b0499",
"receipts_root":"0xe954eb9564cb99064378c6322db2e2ca01a2da23b03cbd0770a48d255df5f646",
"miner":"0x1f9090aae28b8a3dceadf281b0f12828e676c326",
"difficulty":0,
"total_difficulty":5.875000371659836e+22,
"size":99457,
"extra_data":"0x7273796e632d6275696c6465722e78797a",
"gas_limit":30000000,
"gas_used":20054486,
"timestamp":1682070275,
"transaction_count":131,
"base_fee_per_gas":34295746100,
"item_id":"block_0x79571a418b617b59739066761d7368d3287bae0a40d2a19494d12a9174c7e513",
"item_timestamp":"2023-04-21T09:44:35Z"
}
}
}
NEW_HEADS
추가되는 필드 | 삭제되는 필드 | 변경되는 필드 |
---|---|---|
mix_hash | item_id | total_difficulty (number -> string) |
transactions | item_timestamp | |
log_count | period | |
withdrawals_root |
{
"subscriptionId": "97591",
"description": "",
"protocol": "ETHEREUM",
"network": "SEPOLIA",
"subscriptionType": "WEBHOOK",
"notification": {
"webhookUrl": "https://webhook.site/e79578a3-d261-42d7-ba10-b2048385ca16"
},
"eventType": "NEW_HEADS",
"createdAt": "2023-12-01T04:52:24.776Z",
"event": {
"message": {
"parent_hash": "0x264107bf82453bc9df4c1dadeccd9cabb857d3b8601f43ab1c6fc1c7e8ebb811",
"sha3_uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"miner": "0x3826539cbd8d68dcf119e80b994557b4278cec9f",
"state_root": "0xd47e95e100cfa2452eb50e48a1d23ffe0e9ce9222dea43f492ccf13e10367afe",
"transactions_root": "0xe9cee1ffc5c8aee4d23180d34037b411f5ab8237a4486e9e5b1891f2ed8b4fab",
"receipts_root": "0x339ab521681fa74665c64f429bb3e03106d0a5ca3f6f2b1c0065c5c1c9b39c3c",
"logs_bloom": "0x280000000001400004184042002001c80080020000000600004000e04040040020200004000002001000000200140084000110004200000000001100002000200000b400008d04015000011a00200800140110101000030000800001900000000000000002200200022000240000090160080081001402200008021200010008828100000010002004200020000040000008000000000800880110828040000102000002000860020000000800004000084020004000000200000000044200300010000200002100008802110c02400008a000403802000428809300001028200090800a0000100080000800a00408000b48a002080004044000040000514000",
"difficulty": "0",
"gas_limit": 30000000,
"gas_used": 29982246,
"extra_data": "0x",
"mix_hash": "0x1537f1cc584f9c012b8afa5fbb91835f2bc75b7f407873a612c64931e6be442f",
"nonce": "0x0000000000000000",
"hash": "0xe9e6816b7c6440760f867e12b2be58b754d17e1a7c3b5323f09d020622dc23b0",
"size": 27079,
"total_difficulty": "17000018015853232",
"transactions": [
"0x14831839a9cf4b05bfd349a165be9e9316ef1591e53c2dbd45506ac42f6fd493",
...
"0x5e62a1980073a6945b25b87379b876d7eb575bdef2be19e3b2c0d2fcae79e10e"
],
"transaction_count": 29,
"log_count": 3027,
"base_fee_per_gas": 181230415,
"withdrawals_root": "0x95f1b5cfcefddf9a76d1f18278ff623bdffa566851a935bb964ac0b99181ad1d",
"withdrawal_count": 16,
"type": "block",
"number": 4799609,
"timestamp": 1701406236,
"l1_block_number":18690574 (optional, only l2 chains)
}
}
}
{
"subscriptionId":"312",
"description":"TEST_DESCRIPTION",
"protocol":"ETHEREUM",
"network":"MAINNET",
"subscriptionType":"WEBHOOK",
"notification":{
"webhookUrl":"https://webhook.test.server/block"
},
"eventType":"NEW_HEADS",
"createdAt":"2023-04-21T09:46:26.419Z",
"event":{
"period":1,
"message":{
"type":"block",
"number":17094685,
"hash":"0xf8ae974622cbb1647c6a5b192546a7d5fc096b85da6c482994cdb845f2bcc9f1",
"parent_hash":"0x14b07b821381b446b36abe8c2e50abb8ec503fb8cb68b7361807f26d1917d846",
"nonce":"0x0000000000000000",
"sha3_uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"logs_bloom":"0x0423220065084a9c912908bac3510323d0e8548a0e52a488028913b0d0aa003145981dd0634820343b1d15046bc1210023038008da2fb90111008998112c60c000207488d76019602adb4e4fb86b823a9420410409c408d416522596cac231244b2228115343651101cd966402445c6d3068490d00d52612822a879028632004608182f4d1008005244888c083b644b000021c8dbb0b69cae432514e22301280ae08410615c0e00822e2e4f5299c840566c8085944c8a9c2b190241a002288dd69391052030882cb968887a32440e05448c8074280cab0534654111218a0e44401b26798c18398a6221700e00e0068ad0a4c12189129c24201b9b889c2a1d405",
"transactions_root":"0xdb93adcb14e3818ccaf8b6edb456b86fdab7be5a4cbd729ee63b107823b5896f",
"state_root":"0x3c1d6405575b4e3af992aede0ff97aacd38af38d6fc1e2cd448826a6e1725dcd",
"receipts_root":"0x20665e75d4a95074c3b0635613f95f253ce9362ca6233e0e9e02deca21a0799b",
"miner":"0xba401cdac1a3b6aeede21c9c4a483be6c29f88c5",
"difficulty":0,
"total_difficulty":5.875000371659836e+22,
"size":166552,
"extra_data":"0x6279206275696c64657230783639",
"gas_limit":30000000,
"gas_used":11251331,
"timestamp":1682079119,
"transaction_count":115,
"base_fee_per_gas":38912382163,
"item_id":"block_0xf8ae974622cbb1647c6a5b192546a7d5fc096b85da6c482994cdb845f2bcc9f1",
"item_timestamp":"2023-04-21T12:11:59Z"
}
}
}
BLOCK_LIST_CALLER
추가되는 필드 | 삭제되는 필드 |
---|---|
revert_reason | item_id |
author | item_timestamp |
trace_index |
{
"subscriptionId": "97593",
"description": "",
"protocol": "ETHEREUM",
"network": "MAINNET",
"subscriptionType": "WEBHOOK",
"notification": {
"webhookUrl": "https://webhook.site/e79578a3-d261-42d7-ba10-b2048385ca16"
},
"eventType": "BLOCK_LIST_CALLER",
"createdAt": "2023-12-01T05:11:18.306Z",
"event": {
"targetAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"blockListCaller": "0x11b815efb8f581194ae79006d24e0d814b7697f6",
"message": {
"block_hash": "0x9d30cd42471662454222da2598730032561f7ccf576303ccd4950243028dd4a6",
"block_number": 18689385,
"block_timestamp": 1701407375,
"transaction_index": 209,
"transaction_hash": "0xcbf3e3d561de9ead2661d775dd779eb6e5feb0ec0d9c5adf0fc48e46c308f948",
"from_address": "0x11b815efb8f581194ae79006d24e0d814b7697f6",
"to_address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"value": "0",
"input": "0x70a0823100000000000000000000000011b815efb8f581194ae79006d24e0d814b7697f6",
"output": "0x000000000000000000000000000000000000000000000000000018388993585a",
"trace_type": "call",
"call_type": "staticcall",
"gas": 151627,
"gas_used": 1031,
"subtraces": 0,
"trace_address": [
1,
3
],
"error": null,
"status": 1,
"revert_reason": null,
"trace_id": "call_18689385_209_1_3",
"reward_type": null,
"type": "trace",
"author": null
}
}
}
{
subscriptionId: "47",
description: "TEST_DESCRIPTION",
protocol: "ETHEREUM",
network: "MAINNET",
notification: {
webhookUrl: "https://webhook.test.server/blocklist",
},
eventType: "BLOCK_LIST_CALLER",
createdAt: "2023-04-24T06:29:01.263Z",
event: {
targetAddress: "0x5e4e65926ba27467555eb562121fac00d24e9dd2",
blockListCaller: "0x6887246668a3b87f54deb3b94ba47a6f63f32985",
message: {
type: "trace",
transaction_index: 121,
from_address: "0x6887246668a3b87f54deb3b94ba47a6f63f32985",
to_address: "0x5e4e65926ba27467555eb562121fac00d24e9dd2",
value: 0,
input: "0xd0f893440005969e4300007800000600000000000000000000000000000000000022000000006446211b00010524c2000007000000006446212a00010524c2000046000000006446212a00010524c400000700000000644621390001...d3307040000ffff6f084e9a",
output: "0x",
trace_type: "call",
call_type: "call",
reward_type: null,
gas: 163541,
gas_used: 81402,
subtraces: 10,
trace_address: [0],
error: null,
status: 1,
transaction_hash: "0x291d2fdfa11284604e07861a1986633c4e05c5ca6a7914cbd1f7c52578a6a319",
block_number: 17114360,
trace_id: "call_0x291d2fdfa11284604e07861a1986633c4e05c5ca6a7914cbd1f7c52578a6a319_",
trace_index: 555,
block_timestamp: 1682317631,
block_hash: "0x436275b331c34eba47dace47ae8f6718e0aeea245eb17c5ee87bca517ded4018",
item_id: "trace_call_0x291d2fdfa11284604e07861a1986633c4e05c5ca6a7914cbd1f7c52578a6a319_",
item_timestamp: "2023-04-24T06:27:11Z"
}
}
}
ALLOW_LIST_CALLER
추가되는 필드 | 삭제되는 필드 |
---|---|
revert_reason | item_id |
author | item_timestamp |
trace_index |
{
"subscriptionId": "97594",
"description": "",
"protocol": "ETHEREUM",
"network": "MAINNET",
"subscriptionType": "WEBHOOK",
"notification": {
"webhookUrl": "https://webhook.site/e79578a3-d261-42d7-ba10-b2048385ca16"
},
"eventType": "ALLOW_LIST_CALLER",
"createdAt": "2023-12-01T05:13:38.364Z",
"event": {
"targetAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"allowListCaller": "0x11b815efb8f581194ae79006d24e0d814b7697f6",
"message": {
"block_hash": "0xf2b1663f6aecf7c39df5572c4dad5032853ebb76f3a91fbb6920e6194b68a4d5",
"block_number": 18689397,
"block_timestamp": 1701407519,
"transaction_index": 73,
"transaction_hash": "0x667157bca911136fb913c39abc0a07b8e7a04984a1ea168919f8677aa5f811ed",
"from_address": "0x11b815efb8f581194ae79006d24e0d814b7697f6",
"to_address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"value": "0",
"input": "0x70a0823100000000000000000000000011b815efb8f581194ae79006d24e0d814b7697f6",
"output": "0x000000000000000000000000000000000000000000000000000018311eca9a25",
"trace_type": "call",
"call_type": "staticcall",
"gas": 130854,
"gas_used": 1031,
"subtraces": 0,
"trace_address": [
0,
3
],
"error": null,
"status": 1,
"revert_reason": null,
"trace_id": "call_18689397_73_0_3",
"reward_type": null,
"type": "trace",
"author": null
}
}
}
{
subscriptionId: "46",
description: "TEST_DESCRIPTION",
protocol: "ETHEREUM",
network: "MAINNET",
notification: {
webhookUrl: "https://webhook.test.server/allowlist"
},
eventType: "ALLOW_LIST_CALLER",
createdAt: "2023-04-24T06:15:43.442Z",
event: {
targetAddress: "0x5e4e65926ba27467555eb562121fac00d24e9dd2",
allowListCaller: "0x6887246668a3b87f54deb3b94ba47a6f63f32985",
message: {
type: "trace",
transaction_index: 127,
from_address: "0x6887246668a3b87f54deb3b94ba47a6f63f32985",
to_address: "0x5e4e65926ba27467555eb562121fac00d24e9dd2",
value: 0,
input: "0xd0f8934400059691b500005d0000060000000000000000000000000000000000000a0000000064461e0000010524800000020000000064461e0f00010524800000440000000064461e0f0001052481...020000ffff63817e3e",
output: "0x",
trace_type: "call",
call_type: "call",
reward_type: null,
gas: 153352,
gas_used: 81402,
subtraces: 10,
trace_address: [0],
error: null,
status: 1,
transaction_hash: "0x5923e673d1ab6d785cbb9780cc125bb0e622a69f36d7623e513e7fde49509609",
block_number: 17114294,
trace_id: "call_0x5923e673d1ab6d785cbb9780cc125bb0e622a69f36d7623e513e7fde49509609_",
trace_index: 440,
block_timestamp: 1682316839,
block_hash: "0xbc7cb0f777f6a83b6e19bb56abc30a02362d308f90426747bf1cd03d45cd638f",
item_id: "trace_call_0x5923e673d1ab6d785cbb9780cc125bb0e622a69f36d7623e513e7fde49509609_",
item_timestamp: "2023-04-24T06:13:59Z"
}
}
}
LOG
추가되는 필드 | 삭제되는 필드 | 변경되는 필드 |
---|---|---|
removed | item_id | topics (object -> array) |
item_timestamp |
{
"subscriptionId": "97595",
"description": "",
"protocol": "ETHEREUM",
"network": "MAINNET",
"subscriptionType": "WEBHOOK",
"notification": {
"webhookUrl": "https://webhook.site/e79578a3-d261-42d7-ba10-b2048385ca16"
},
"eventType": "LOG",
"createdAt": "2023-12-01T05:20:31.457Z",
"event": {
"targetAddress": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
],
"message": {
"address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000005d5582c9676e167ec5ff2691796ee19a37614004",
"0x00000000000000000000000000000047bb99ea4d791bb749d970de71ee0b1a34"
],
"data": "0x0000000000000000000000000000000000000000000000000000000001c9c380",
"block_number": 18689431,
"transaction_hash": "0x9b229d085eaa9863a6001107460fc815162f0461ca8972f3f02868244be8efa6",
"transaction_index": 61,
"block_hash": "0x1bf349bd956f2e0d485bd944b624321d82028cb4f385f7339fe5545f9b79c173",
"block_timestamp": 1701407927,
"log_index": 140,
"removed": false,
"type": "log"
}
}
}
{
"subscriptionId":"45",
"description":"TEST_DESCRIPTION",
"protocol":"ETHEREUM",
"network":"MAINNET",
"subscriptionType":"WEBHOOK",
"notification":{
"webhookUrl":"https://webhook.test.server/log"
},
"eventType":"LOG",
"createdAt":"2023-04-21T12:35:53.592Z",
"event":{
"targetAddress":"0x388c818ca8b9251b393131c08a736a67ccb19297",
"topics":[
{
"0":"0x27f12abfe35860a9a927b465bb3d4a9c23c8428174b83f278fe45ed7b4da2662"
}
],
"message":{
"type":"log",
"log_index":235,
"transaction_hash":"0xfe155f13828ed5c78ee2383b4b46511d37060eb4285cf279a145442cc1dc7f76",
"transaction_index":95,
"address":"0x388c818ca8b9251b393131c08a736a67ccb19297",
"data":"0x00000000000000000000000000000000000000000000000000a72dd5bccf60d7",
"topics":[
{
"0":"0x27f12abfe35860a9a927b465bb3d4a9c23c8428174b83f278fe45ed7b4da2662"
}
],
"block_number":17094796,
"block_timestamp":1682080451,
"block_hash":"0x07d99eef082bc70ef98b75f5e639f7fe3928d3aa5ce711f1c1a894e713a2b8b2",
"item_id":"log_0xfe155f13828ed5c78ee2383b4b46511d37060eb4285cf279a145442cc1dc7f76_235",
"item_timestamp":"2023-04-21T12:34:11Z"
}
}
}