Request
{
"clientName": "Uracle"
}
Response
{
"clientId": "ymmyntm4mzctntaxyi0zngq5lwe2mgutnzvin2iwnjzkntc3",
"clientSecret": "6a350bcf-ce4a-314e-9626-412b9dc4cb68",
"clientName": "Uracle",
"authorization": "eW1teW50bTRtemN0bnRheHlpMHpuZ3E1bHdlMm1ndXRuenZpbjJpd25qemtudGMzOjZhMzUwYmNmLWNlNGEtMzE0ZS05NjI2LTQxMmI5ZGM0Y2I2OA==",
"tokenType": "Basic"
}
Request
http://IP:PORT/api/v1/oauth/clients/Uracle
Response
{
"clientId": "ymmyntm4mzctntaxyi0zngq5lwe2mgutnzvin2iwnjzkntc3",
"clientSecret": "6a350bcf-ce4a-314e-9626-412b9dc4cb68",
"clientName": "Uracle",
"authorization": "eW1teW50bTRtemN0bnRheHlpMHpuZ3E1bHdlMm1ndXRuenZpbjJpd25qemtudGMzOjZhMzUwYmNmLWNlNGEtMzE0ZS05NjI2LTQxMmI5ZGM0Y2I2OA==",
"tokenType": "Basic"
}
Headers
Request
Response
{
"scope": "profile",
"tokenType": "Bearer",
"expiresIn": "86399",
"accessToken": "eyJ4NXQjUzI1NiI6Ik9NanozUzVHY3podkJ0Y2RxczRZWU9qSGJFYlZTUzdsYW1WX1VQV05qNlkiLCJraWQiOiJvYXV0aDIiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJ5bW15bnRtNG16Y3RudGF4eWkwem5ncTVsd2UybWd1dG56dmluMml3bmp6a250YzMiLCJhdWQiOiJ5bW15bnRtNG16Y3RudGF4eWkwem5ncTVsd2UybWd1dG56dmluMml3bmp6a250YzMiLCJuYmYiOjE2NTkzMTUyNDIsInNjb3BlIjpbInByb2ZpbGUiXSwiaXNzIjoiaHR0cDpcL1wvbG9jYWxob3N0Ojk3ODAiLCJleHAiOjE2NTk0MDE2NDIsImlhdCI6MTY1OTMxNTI0Mn0.BvaPWZPxZUKsZp_HEDnm0uLse0dWuNxa2lnjFkmtKcwojPMmx_UDDj9VDjcDybNM1rf5QCILmnKrNGQDNLDT0oqksSxPVHvw5SC5Gl348AAo6f9URa6OD7R7DiGrPkisGhlt5LV5KV3LYazYoi_snf-XoFN0eeUd2NWhC-9AgSFhXQ2FThPXic5sqwwCN3KUO-Trae9ixnOyGuM2_hQfr54rjURQyIzQUUnBcpnxv0zwGhLik9KvCrJSc3jSzlO-MUR97EtwkJt8QwXnODDniIEAov8MyHFCvV2-LU0D2K2gwrtYXDFu4tCotqWGY0Hq19Yb-SQlRuYIwx-SBB3Jog"
}
Headers
Request
{
"rawData": "0x42492f1c659f853ce0e6581474d9be1e5d8ffdea-A",
"funcName": "getDidDoc",
"smartContract": "0xC001dF2301b8296FD9f31E3940157DA0547190BF",
"walletAddress": "0x252f373ae00503745f7f9934561bbfdaa92c3846"
}
Response
{
"rawData": {
"bcKey": "0x42492f1c659f853ce0e6581474d9be1e5d8ffdea-A",
"bcValue": "Hello Uracle",
"didTimestamp": "1591851625",
"bcStatus": "0"
}
}
Headers
Request
{
"rawData": {
"bcKey": "0x42492f1c659f853ce0e6581474d9be1e5d8ffdea-A",
"bcValue": "Hello Uracle",
"didTimestamp": "1591851625"
},
"funcName": "regDidDoc",
"smartContract": "0xC001dF2301b8296FD9f31E3940157DA0547190BF",
"walletAddress": "0x252f373ae00503745f7f9934561bbfdaa92c3846"
}
Response
{
"rawData": "0x7b3f59837ca2c3d6286946ac296dc3126c5758f2ed50e51a3f8951ba1fcadaf5"
}
Headers
Request
{
"rawData": {
"bcKey": "0x252f373ae00503745f7f9934561bbfdaa92c3846-Z",
"bcValue": "Hello Uracle",
"didTimestamp": "1591851625"
},
"walletAddress": "0x252f373ae00503745f7f9934561bbfdaa92c3846"
}
Response
{
"rawData": "0x7c9584458ab4b5fd164792ab001444d5b498d84f88b5ac3c48542b8b7563cb62"
}
트랜잭션 저장은 무조건 Reference 타입일 경우 Json으로 변환하며, Primitive 타입들은 문자열로 변환하여 저장한다. 아래의 Json데이터는 트랜잭션 저장 후 트랜잭션 정보 조회 결과 값 예시이다.
{
"hash": "0x7c9584458ab4b5fd164792ab001444d5b498d84f88b5ac3c48542b8b7563cb62",
"nonce": 156,
"blockHash": "0xb7cf11d644015cedad89b2432d5f671313ac0a430c9b89d45aca2f62f8964106",
"blockNumber": 695,
"transactionIndex": 0,
"from": "0x83d68c79b626851faca13ee624f62c1fff705d70",
"to": "0x83d68c79b626851faca13ee624f62c1fff705d70",
"value": 0,
"gasPrice": 0,
"gas": 22960,
"input": {
"bcKey": "0x83d68c79b626851faca13ee624f62c1fff705d70-Z",
"bcValue": "Hello Uracle",
"didTimestamp": "1591851625"
},
"publicKey": "0xac2bcf058920ff06badf0ed206f53b469c24496d2a037ae7973364d357c3e507e79a7bb3fbeb854da62b99d9286348fa2a392f3f8af2176135a64d4f39b0800c",
"raw": "0xf90105819c808259b09483d68c79b626851faca13ee624f62c1fff705d7080b8a0000000000000000000000000000000000000000000000000000000000000006d7b2262634b6579223a223078383364363863373962363236383531666163613133656536323466363263316666663730356437302d5a222c22626356616c7565223a2248656c6c6f20557261636c65222c2264696454696d657374616d70223a2231353931383531363235227d0000000000000000000000000000000000000084026915b4a0d9b3b3dad414307ca2cd199032fe76e4f0d4e8672c9cb200d7c3a7eb32c0a733a068d999d93b14cce210216a93c224ac263da0bcf326bec9b372eee2e489aea7a8",
"r": "0xd9b3b3dad414307ca2cd199032fe76e4f0d4e8672c9cb200d7c3a7eb32c0a733",
"s": "0x68d999d93b14cce210216a93c224ac263da0bcf326bec9b372eee2e489aea7a8",
"v": 40441268,
"maxFeePerGas": 0,
"maxPriorityFeePerGas": 0
}
Headers
Request
http://IP:PORT/bc/eth/tx/receipt/0xd8313d5bd433621a542682d69c4a1402acea02f1e2e72bace5bf1a2a00215abc
Response
{
"rawData": {
"transactionHash": "0xd8313d5bd433621a542682d69c4a1402acea02f1e2e72bace5bf1a2a00215abc",
"transactionIndex": 0,
"blockHash": "0x405bad87d045d0ff0dad19f72e33532618fd4906c6de0f47dfcb367567de1f60",
"blockNumber": 109764,
"cumulativeGasUsed": 516571,
"gasUsed": 516571,
"status": 1,
"from": "0x252f373ae00503745f7f9934561bbfdaa92c3846",
"to": "0xc001df2301b8296fd9f31e3940157da0547190bf",
"logs": [{
"removed": false,
"logIndex": 0,
"transactionIndex": 0,
"transactionHash": "0xd8313d5bd433621a542682d69c4a1402acea02f1e2e72bace5bf1a2a00215abc",
"blockHash": "0x405bad87d045d0ff0dad19f72e33532618fd4906c6de0f47dfcb367567de1f60",
"blockNumber": 109764,
"address": "0xc001df2301b8296fd9f31e3940157da0547190bf",
"data": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000360000000000000000000000000000000000000000000000000000000000000002c3078323532663337336165303035303337343566376639393334353631626266646161393263333834362d5a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020a7b5c2240636f6e746578745c223a5c22687474703a2f2f736368656d612e6f72672f5c222c5c2269645c223a5c226469643a6865636174653a6e65783a323138326532333938383864366166633631626430643637376235386230343433626561336666645c222c5c22637265617465645c223a5c225c222c5c22757064617465645c223a5c225c222c5c2261757468656e7469636174696f6e735c223a5b7b5c2269645c223a5c225c222c5c22747970655c223a5c225c222c5c22636f6e74726f6c6c65725c223a5c225c222c5c227075626c69634b65795065726d5c223a5c225c227d5d2c5c227075626c69634b6579735c223a5b7b5c2269645c223a5c226469643a6865636174653a6e65783a32313832653233393838386436616663363162643064363737623538623034343362656133666664234b65792d315c222c5c22747970655c223a5c225c222c5c22636f6e74726f6c6c65725c223a5c225c222c5c227075626c6964634b65794261736535385c223a5c2262617365353820686f6c646572207075626c69634b65795c222c5c227075626c69634b6579486578537472696e675c223a5c2268657820686f6c646572207075626c69634b65795c227d5d2c5c2273657276696365735c223a5b7b5c2269645c223a5c225c222c5c22747970655c223a5c225c222c5c2273657276696365456e64506f696e745c223a5c225c227d5d7d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a313539313835313632350000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013000000000000000000000000000000000000000000000000000000000000000",
"topics": ["0x4edff151847655827d51b09e7d0e98ef14572ea8e42b16cf77fb65f85220c4d7"]
}],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000800010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000",
"effectiveGasPrice": "0x0"
}
}
Headers
Request
http://IP:PORT/bc/eth/tx/info/0xd8313d5bd433621a542682d69c4a1402acea02f1e2e72bace5bf1a2a00215abc
Response
{
"rawData": {
"hash": "0x2c29917b6ef1e2953a911feb97deafdbf9240fc426ec37e064d33e9019405d0c",
"nonce": 8,
"blockHash": "0x788f96f6f7695f47e8333dab88b90642b19db112aafabd55befaa16d60f3b868",
"blockNumber": 130079,
"transactionIndex": 0,
"from": "0x252f373ae00503745f7f9934561bbfdaa92c3846",
"to": "0xc001df2301b8296fd9f31e3940157da0547190bf",
"value": 0,
"gasPrice": 0,
"gas": 166605,
"input": "0x7a825d00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000002c3078323532663337336165303035303337343566376639393334353631626266646161393263333834362d470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b48656c6c6f20576f726c64000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a3135393138353136323500000000000000000000000000000000000000000000",
"publicKey": "0x770358fcf82490a949fd52f9cdd11281db41bcdeb8eec8dfc38b41836097c73bd91294998e8da70a46ffb3f9485a60e0e76fb1033e250a8a15e9479c586df2be",
"raw": "0xf901aa088083028acd94c001df2301b8296fd9f31e3940157da0547190bf80b901447a825d00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000002c3078323532663337336165303035303337343566376639393334353631626266646161393263333834362d470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b48656c6c6f20576f726c64000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a313539313835313632350000000000000000000000000000000000000000000084026915b3a015addbe1b271784674a12979d8f8060d7427b994b2ffcfbc7e9d640d6be122a2a074d41dd03c2e58a8fc665ddc6eff8721ed3b89b509980ca7e32fa955601a09d8",
"r": "0x15addbe1b271784674a12979d8f8060d7427b994b2ffcfbc7e9d640d6be122a2",
"s": "0x74d41dd03c2e58a8fc665ddc6eff8721ed3b89b509980ca7e32fa955601a09d8",
"v": 40441267,
"maxFeePerGas": 0,
"maxPriorityFeePerGas": 0
}
}
Headers
Request
http://IP:PORT/bc/eth/tx/info/0xd8313d5bd433621a542682d69c4a1402acea02f1e2e72bace5bf1a2a00215abc?funcName=regDidDoc
Response
{
"rawData": {
"hash": "0x2c29917b6ef1e2953a911feb97deafdbf9240fc426ec37e064d33e9019405d0c",
"nonce": 8,
"blockHash": "0x788f96f6f7695f47e8333dab88b90642b19db112aafabd55befaa16d60f3b868",
"blockNumber": 130079,
"transactionIndex": 0,
"from": "0x252f373ae00503745f7f9934561bbfdaa92c3846",
"to": "0xc001df2301b8296fd9f31e3940157da0547190bf",
"value": 0,
"gasPrice": 0,
"gas": 166605,
"input": ["0x252f373ae00503745f7f9934561bbfdaa92c3846-G", "Hello World", "1591851625"],
"publicKey": "0x770358fcf82490a949fd52f9cdd11281db41bcdeb8eec8dfc38b41836097c73bd91294998e8da70a46ffb3f9485a60e0e76fb1033e250a8a15e9479c586df2be",
"raw": "0xf901aa088083028acd94c001df2301b8296fd9f31e3940157da0547190bf80b901447a825d00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000002c3078323532663337336165303035303337343566376639393334353631626266646161393263333834362d470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b48656c6c6f20576f726c64000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a313539313835313632350000000000000000000000000000000000000000000084026915b3a015addbe1b271784674a12979d8f8060d7427b994b2ffcfbc7e9d640d6be122a2a074d41dd03c2e58a8fc665ddc6eff8721ed3b89b509980ca7e32fa955601a09d8",
"r": "0x15addbe1b271784674a12979d8f8060d7427b994b2ffcfbc7e9d640d6be122a2",
"s": "0x74d41dd03c2e58a8fc665ddc6eff8721ed3b89b509980ca7e32fa955601a09d8",
"v": 40441267,
"maxFeePerGas": 0,
"maxPriorityFeePerGas": 0
}
}
Headers
Request
Response
{
"rawData": "0x42492f1c659f853ce0e6581474d9be1e5d8ffdea"
}
Request
http://IP:PORT/bc/eth/wallet/0xa6eb7e9e4c3a8745c3f68c2443a1630a938adf0a/nonce
Response
{
"rawData": 2
}
Headers
Request
http://IP:PORT/bc/eth/block/logs/0x405bad87d045d0ff0dad19f72e33532618fd4906c6de0f47dfcb367567de1f60?contractAddress=0xC001dF2301b8296FD9f31E3940157DA0547190BF
Response
{
"rawData": [{
"removed": false,
"logIndex": 0,
"transactionIndex": 0,
"transactionHash": "0xd8313d5bd433621a542682d69c4a1402acea02f1e2e72bace5bf1a2a00215abc",
"blockHash": "0x405bad87d045d0ff0dad19f72e33532618fd4906c6de0f47dfcb367567de1f60",
"blockNumber": 109764,
"address": "0xc001df2301b8296fd9f31e3940157da0547190bf",
"data": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000360000000000000000000000000000000000000000000000000000000000000002c3078323532663337336165303035303337343566376639393334353631626266646161393263333834362d5a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020a7b5c2240636f6e746578745c223a5c22687474703a2f2f736368656d612e6f72672f5c222c5c2269645c223a5c226469643a6865636174653a6e65783a323138326532333938383864366166633631626430643637376235386230343433626561336666645c222c5c22637265617465645c223a5c225c222c5c22757064617465645c223a5c225c222c5c2261757468656e7469636174696f6e735c223a5b7b5c2269645c223a5c225c222c5c22747970655c223a5c225c222c5c22636f6e74726f6c6c65725c223a5c225c222c5c227075626c69634b65795065726d5c223a5c225c227d5d2c5c227075626c69634b6579735c223a5b7b5c2269645c223a5c226469643a6865636174653a6e65783a32313832653233393838386436616663363162643064363737623538623034343362656133666664234b65792d315c222c5c22747970655c223a5c225c222c5c22636f6e74726f6c6c65725c223a5c225c222c5c227075626c6964634b65794261736535385c223a5c2262617365353820686f6c646572207075626c69634b65795c222c5c227075626c69634b6579486578537472696e675c223a5c2268657820686f6c646572207075626c69634b65795c227d5d2c5c2273657276696365735c223a5b7b5c2269645c223a5c225c222c5c22747970655c223a5c225c222c5c2273657276696365456e64506f696e745c223a5c225c227d5d7d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a313539313835313632350000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013000000000000000000000000000000000000000000000000000000000000000",
"topics": ["0x4edff151847655827d51b09e7d0e98ef14572ea8e42b16cf77fb65f85220c4d7"]
}]
}
Headers
Request
http://IP:PORT/bc/eth/block/logs/0x405bad87d045d0ff0dad19f72e33532618fd4906c6de0f47dfcb367567de1f60
Response
{
"rawData": [{
"removed": false,
"logIndex": 0,
"transactionIndex": 0,
"transactionHash": "0xd8313d5bd433621a542682d69c4a1402acea02f1e2e72bace5bf1a2a00215abc",
"blockHash": "0x405bad87d045d0ff0dad19f72e33532618fd4906c6de0f47dfcb367567de1f60",
"blockNumber": 109764,
"address": "0xc001df2301b8296fd9f31e3940157da0547190bf",
"data": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000360000000000000000000000000000000000000000000000000000000000000002c3078323532663337336165303035303337343566376639393334353631626266646161393263333834362d5a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020a7b5c2240636f6e746578745c223a5c22687474703a2f2f736368656d612e6f72672f5c222c5c2269645c223a5c226469643a6865636174653a6e65783a323138326532333938383864366166633631626430643637376235386230343433626561336666645c222c5c22637265617465645c223a5c225c222c5c22757064617465645c223a5c225c222c5c2261757468656e7469636174696f6e735c223a5b7b5c2269645c223a5c225c222c5c22747970655c223a5c225c222c5c22636f6e74726f6c6c65725c223a5c225c222c5c227075626c69634b65795065726d5c223a5c225c227d5d2c5c227075626c69634b6579735c223a5b7b5c2269645c223a5c226469643a6865636174653a6e65783a32313832653233393838386436616663363162643064363737623538623034343362656133666664234b65792d315c222c5c22747970655c223a5c225c222c5c22636f6e74726f6c6c65725c223a5c225c222c5c227075626c6964634b65794261736535385c223a5c2262617365353820686f6c646572207075626c69634b65795c222c5c227075626c69634b6579486578537472696e675c223a5c2268657820686f6c646572207075626c69634b65795c227d5d2c5c2273657276696365735c223a5b7b5c2269645c223a5c225c222c5c22747970655c223a5c225c222c5c2273657276696365456e64506f696e745c223a5c225c227d5d7d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a313539313835313632350000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013000000000000000000000000000000000000000000000000000000000000000",
"topics": ["0x4edff151847655827d51b09e7d0e98ef14572ea8e42b16cf77fb65f85220c4d7"]
}]
}
Headers
Request - N/A
Response
{
"rawData": 9007199254740991
}
Headers
Request
Response
{
"rawData": 0
}
Headers
Request
Response
{
"rawData": {
"number": 147122,
"hash": "0x6699268e39a28639f0eb4a43407e2a8e2e42b3ae38ba7d93d15af9c232ee2da0",
"parentHash": "0xfd636212151a03ea7fd75c52520dc1820001d790b9182a53a321c4229286c6df",
"nonce": 0,
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"stateRoot": "0xcb1e9270da27db6e141636971ff5520a595a8a54e984e7c11101efdbe400390c",
"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"miner": "0xf5f1828bf4c321a410596543d0c134fce0fc1280",
"mixHash": "0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365",
"difficulty": 1,
"totalDifficulty": 147123,
"extraData": "0xf90144a0f83aa00000000000000000000000000000000000000000000000000000000000f85494786db72ddbbb66aafb4da8650a8fd10c2a5a561e948a3abe11a9cce64869df9ed8827018043d0c4af894b4e0e661d37520b5bc97ad150079c165b4a034e794f5f1828bf4c321a410596543d0c134fce0fc1280c080f8c9b84148b479d440ed8f8160fbd8e7424fab69fa1f1cedc5cb211d30d15bec297c9e943e7f4e15dcb2908a04b1f9de034e94fe1cf2294d6985007a90418620026383c800b841b6cd08963d467511c9ab7ef1b02150615354627e3f4d69f48982c196f307f686208c6d4eb4dca99f172270efd6664bff9607436dc6bb4cfb1a52711bd821387300b841a9f704a89cef4394a5e4fefb9c2de7fd43f7ca5ae65fd2d9e94bf36ec54d727a425f146e16fb6f9b9d92816121dd6fd3e724dfbf263e4a01606786f96e928e0e00",
"size": 844,
"gasLimit": 9007199254740991,
"gasUsed": 0,
"timestamp": 1656460699,
"transactions": [],
"uncles": [],
"baseFeePerGas": 0
}
}
Headers
Request
http://IP:PORT/bc/eth/block/109764
Response
{
"rawData": {
"number": 109764,
"hash": "0x405bad87d045d0ff0dad19f72e33532618fd4906c6de0f47dfcb367567de1f60",
"parentHash": "0x9dfa541eec4217920508c0a6c55aa363988cb123613a4bd8b717146c10fc4e29",
"nonce": 0,
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000800010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000",
"transactionsRoot": "0x3ce299db4c7bef1fa3c934b8ac36871c31e9b69a0c01a51225344c51c82a3059",
"stateRoot": "0xd604989825af8f42ba7b48b358e31ef36c9094a37d882b938c20003e37125371",
"receiptsRoot": "0xa2cb29fc2b9ae94ee5ca9fa5e794d8e6dc41fa569082b4191b341eec81700a59",
"miner": "0x786db72ddbbb66aafb4da8650a8fd10c2a5a561e",
"mixHash": "0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365",
"difficulty": 1,
"totalDifficulty": 109765,
"extraData": "0xf90144a0f83aa00000000000000000000000000000000000000000000000000000000000f85494786db72ddbbb66aafb4da8650a8fd10c2a5a561e948a3abe11a9cce64869df9ed8827018043d0c4af894b4e0e661d37520b5bc97ad150079c165b4a034e794f5f1828bf4c321a410596543d0c134fce0fc1280c080f8c9b8410b610b521283809de1a67d6c87ab68ead319c5d53a0679ba1a1afbd75fda8cf76ba424ffcd3a790ca7195ac7a73f4833ba813444aa4659a8084bb388efc6d4e500b841c7a08a06bab3f0f1613ba4999fd9c2730f2647f5203a6f6463194ddc5f8f9c643841d9d9cbc9fe41e831aaeebf0f247d4250e7104c40a39209f021308599647e01b8412676ac3121cf645d98705d9633d46a1aef2485d9be96b8aa9c2261810bc0b3327cc0d563bc95bda66d0bf2c79829ad79c510c1fa741e3c4aea6deec54edac0db00",
"size": 1790,
"gasLimit": 9007199254739967,
"gasUsed": 516571,
"timestamp": 1656311261,
"transactions": [{
"hash": "0xd8313d5bd433621a542682d69c4a1402acea02f1e2e72bace5bf1a2a00215abc",
"nonce": 5,
"blockHash": "0x405bad87d045d0ff0dad19f72e33532618fd4906c6de0f47dfcb367567de1f60",
"blockNumber": 109764,
"transactionIndex": 0,
"from": "0x252f373ae00503745f7f9934561bbfdaa92c3846",
"to": "0xc001df2301b8296fd9f31e3940157da0547190bf",
"value": 0,
"gasPrice": 0,
"gas": 526978,
"input": "0x7a825d00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000002c3078323532663337336165303035303337343566376639393334353631626266646161393263333834362d5a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020a7b5c2240636f6e746578745c223a5c22687474703a2f2f736368656d612e6f72672f5c222c5c2269645c223a5c226469643a6865636174653a6e65783a323138326532333938383864366166633631626430643637376235386230343433626561336666645c222c5c22637265617465645c223a5c225c222c5c22757064617465645c223a5c225c222c5c2261757468656e7469636174696f6e735c223a5b7b5c2269645c223a5c225c222c5c22747970655c223a5c225c222c5c22636f6e74726f6c6c65725c223a5c225c222c5c227075626c69634b65795065726d5c223a5c225c227d5d2c5c227075626c69634b6579735c223a5b7b5c2269645c223a5c226469643a6865636174653a6e65783a32313832653233393838386436616663363162643064363737623538623034343362656133666664234b65792d315c222c5c22747970655c223a5c225c222c5c22636f6e74726f6c6c65725c223a5c225c222c5c227075626c6964634b65794261736535385c223a5c2262617365353820686f6c646572207075626c69634b65795c222c5c227075626c69634b6579486578537472696e675c223a5c2268657820686f6c646572207075626c69634b65795c227d5d2c5c2273657276696365735c223a5b7b5c2269645c223a5c225c222c5c22747970655c223a5c225c222c5c2273657276696365456e64506f696e745c223a5c225c227d5d7d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a3135393138353136323500000000000000000000000000000000000000000000",
"publicKey": "0x770358fcf82490a949fd52f9cdd11281db41bcdeb8eec8dfc38b41836097c73bd91294998e8da70a46ffb3f9485a60e0e76fb1033e250a8a15e9479c586df2be",
"raw": "0xf903aa058083080a8294c001df2301b8296fd9f31e3940157da0547190bf80b903447a825d00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000002c3078323532663337336165303035303337343566376639393334353631626266646161393263333834362d5a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020a7b5c2240636f6e746578745c223a5c22687474703a2f2f736368656d612e6f72672f5c222c5c2269645c223a5c226469643a6865636174653a6e65783a323138326532333938383864366166633631626430643637376235386230343433626561336666645c222c5c22637265617465645c223a5c225c222c5c22757064617465645c223a5c225c222c5c2261757468656e7469636174696f6e735c223a5b7b5c2269645c223a5c225c222c5c22747970655c223a5c225c222c5c22636f6e74726f6c6c65725c223a5c225c222c5c227075626c69634b65795065726d5c223a5c225c227d5d2c5c227075626c69634b6579735c223a5b7b5c2269645c223a5c226469643a6865636174653a6e65783a32313832653233393838386436616663363162643064363737623538623034343362656133666664234b65792d315c222c5c22747970655c223a5c225c222c5c22636f6e74726f6c6c65725c223a5c225c222c5c227075626c6964634b65794261736535385c223a5c2262617365353820686f6c646572207075626c69634b65795c222c5c227075626c69634b6579486578537472696e675c223a5c2268657820686f6c646572207075626c69634b65795c227d5d2c5c2273657276696365735c223a5b7b5c2269645c223a5c225c222c5c22747970655c223a5c225c222c5c2273657276696365456e64506f696e745c223a5c225c227d5d7d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a313539313835313632350000000000000000000000000000000000000000000084026915b3a0f1be4cf507884fe8b596709e8a81724a0f13b5bb93bad8921faec2d1e8127a8ba06f3be083b656597bcf0c8d0a6a523b5c9c374583ffcf1fb2b2007898b852dcbc",
"r": "0xf1be4cf507884fe8b596709e8a81724a0f13b5bb93bad8921faec2d1e8127a8b",
"s": "0x6f3be083b656597bcf0c8d0a6a523b5c9c374583ffcf1fb2b2007898b852dcbc",
"v": 40441267,
"maxFeePerGas": 0,
"maxPriorityFeePerGas": 0
}],
"uncles": [],
"baseFeePerGas": 0
}
}
Headers
Request
http://IP:PORT/bc/eth/block/hash/0x405bad87d045d0ff0dad19f72e33532618fd4906c6de0f47dfcb367567de1f60
Response
{
"rawData": {
"number": 109764,
"hash": "0x405bad87d045d0ff0dad19f72e33532618fd4906c6de0f47dfcb367567de1f60",
"parentHash": "0x9dfa541eec4217920508c0a6c55aa363988cb123613a4bd8b717146c10fc4e29",
"nonce": 0,
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000800010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000",
"transactionsRoot": "0x3ce299db4c7bef1fa3c934b8ac36871c31e9b69a0c01a51225344c51c82a3059",
"stateRoot": "0xd604989825af8f42ba7b48b358e31ef36c9094a37d882b938c20003e37125371",
"receiptsRoot": "0xa2cb29fc2b9ae94ee5ca9fa5e794d8e6dc41fa569082b4191b341eec81700a59",
"miner": "0x786db72ddbbb66aafb4da8650a8fd10c2a5a561e",
"mixHash": "0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365",
"difficulty": 1,
"totalDifficulty": 109765,
"extraData": "0xf90144a0f83aa00000000000000000000000000000000000000000000000000000000000f85494786db72ddbbb66aafb4da8650a8fd10c2a5a561e948a3abe11a9cce64869df9ed8827018043d0c4af894b4e0e661d37520b5bc97ad150079c165b4a034e794f5f1828bf4c321a410596543d0c134fce0fc1280c080f8c9b8410b610b521283809de1a67d6c87ab68ead319c5d53a0679ba1a1afbd75fda8cf76ba424ffcd3a790ca7195ac7a73f4833ba813444aa4659a8084bb388efc6d4e500b841c7a08a06bab3f0f1613ba4999fd9c2730f2647f5203a6f6463194ddc5f8f9c643841d9d9cbc9fe41e831aaeebf0f247d4250e7104c40a39209f021308599647e01b8412676ac3121cf645d98705d9633d46a1aef2485d9be96b8aa9c2261810bc0b3327cc0d563bc95bda66d0bf2c79829ad79c510c1fa741e3c4aea6deec54edac0db00",
"size": 1790,
"gasLimit": 9007199254739967,
"gasUsed": 516571,
"timestamp": 1656311261,
"transactions": [{
"hash": "0xd8313d5bd433621a542682d69c4a1402acea02f1e2e72bace5bf1a2a00215abc",
"nonce": 5,
"blockHash": "0x405bad87d045d0ff0dad19f72e33532618fd4906c6de0f47dfcb367567de1f60",
"blockNumber": 109764,
"transactionIndex": 0,
"from": "0x252f373ae00503745f7f9934561bbfdaa92c3846",
"to": "0xc001df2301b8296fd9f31e3940157da0547190bf",
"value": 0,
"gasPrice": 0,
"gas": 526978,
"input": "0x7a825d00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000002c3078323532663337336165303035303337343566376639393334353631626266646161393263333834362d5a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020a7b5c2240636f6e746578745c223a5c22687474703a2f2f736368656d612e6f72672f5c222c5c2269645c223a5c226469643a6865636174653a6e65783a323138326532333938383864366166633631626430643637376235386230343433626561336666645c222c5c22637265617465645c223a5c225c222c5c22757064617465645c223a5c225c222c5c2261757468656e7469636174696f6e735c223a5b7b5c2269645c223a5c225c222c5c22747970655c223a5c225c222c5c22636f6e74726f6c6c65725c223a5c225c222c5c227075626c69634b65795065726d5c223a5c225c227d5d2c5c227075626c69634b6579735c223a5b7b5c2269645c223a5c226469643a6865636174653a6e65783a32313832653233393838386436616663363162643064363737623538623034343362656133666664234b65792d315c222c5c22747970655c223a5c225c222c5c22636f6e74726f6c6c65725c223a5c225c222c5c227075626c6964634b65794261736535385c223a5c2262617365353820686f6c646572207075626c69634b65795c222c5c227075626c69634b6579486578537472696e675c223a5c2268657820686f6c646572207075626c69634b65795c227d5d2c5c2273657276696365735c223a5b7b5c2269645c223a5c225c222c5c22747970655c223a5c225c222c5c2273657276696365456e64506f696e745c223a5c225c227d5d7d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a3135393138353136323500000000000000000000000000000000000000000000",
"publicKey": "0x770358fcf82490a949fd52f9cdd11281db41bcdeb8eec8dfc38b41836097c73bd91294998e8da70a46ffb3f9485a60e0e76fb1033e250a8a15e9479c586df2be",
"raw": "0xf903aa058083080a8294c001df2301b8296fd9f31e3940157da0547190bf80b903447a825d00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000002c3078323532663337336165303035303337343566376639393334353631626266646161393263333834362d5a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020a7b5c2240636f6e746578745c223a5c22687474703a2f2f736368656d612e6f72672f5c222c5c2269645c223a5c226469643a6865636174653a6e65783a323138326532333938383864366166633631626430643637376235386230343433626561336666645c222c5c22637265617465645c223a5c225c222c5c22757064617465645c223a5c225c222c5c2261757468656e7469636174696f6e735c223a5b7b5c2269645c223a5c225c222c5c22747970655c223a5c225c222c5c22636f6e74726f6c6c65725c223a5c225c222c5c227075626c69634b65795065726d5c223a5c225c227d5d2c5c227075626c69634b6579735c223a5b7b5c2269645c223a5c226469643a6865636174653a6e65783a32313832653233393838386436616663363162643064363737623538623034343362656133666664234b65792d315c222c5c22747970655c223a5c225c222c5c22636f6e74726f6c6c65725c223a5c225c222c5c227075626c6964634b65794261736535385c223a5c2262617365353820686f6c646572207075626c69634b65795c222c5c227075626c69634b6579486578537472696e675c223a5c2268657820686f6c646572207075626c69634b65795c227d5d2c5c2273657276696365735c223a5b7b5c2269645c223a5c225c222c5c22747970655c223a5c225c222c5c2273657276696365456e64506f696e745c223a5c225c227d5d7d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a313539313835313632350000000000000000000000000000000000000000000084026915b3a0f1be4cf507884fe8b596709e8a81724a0f13b5bb93bad8921faec2d1e8127a8ba06f3be083b656597bcf0c8d0a6a523b5c9c374583ffcf1fb2b2007898b852dcbc",
"r": "0xf1be4cf507884fe8b596709e8a81724a0f13b5bb93bad8921faec2d1e8127a8b",
"s": "0x6f3be083b656597bcf0c8d0a6a523b5c9c374583ffcf1fb2b2007898b852dcbc",
"v": 40441267,
"maxFeePerGas": 0,
"maxPriorityFeePerGas": 0
}],
"uncles": [],
"baseFeePerGas": 0
}
}
해당 API는 스마트컨트랙트 담당자 또는 프로젝트 Hecate Connector API 담당자가 사용하는 API
Request
curl -X PATCH 'http://IP:PORT/bc/eth/abi-file' -F 'file=@"./some.json"'
Response
"Smart Contract ABI Files Update Success"