Kaia (=Klaytn) JSON RPC를 실행합니다. 사용할 수 있는 RPC API 메서드는 KAS Console > Services > Node API에서 확인하실 수 있습니다. 호환성을 위해 기존의 /v1/klaytn
경로를 유지하고 있습니다.
JSON RPC 요청
요청이 성공적입니다.
요청이 유효하지 않습니다.
자격증명 정보가 유효하지 않습니다.
{- "id": 1,
- "jsonrpc": "2.0",
- "method": "klay_blockNumber",
- "params": [ ]
}
요청이 성공적입니다.
{- "jsonrpc": "2.0",
- "id": 73,
- "result": [
- {
- "blockHash": "0x58d6a86156082b3abc7c9a416684c855f5760c15088d242d665b8f0686cb1329",
- "blockNumber": "0x20f3106",
- "contractAddress": null,
- "feePayer": "0x7be759b78f34389fa15f85f4144d8cd732c4c60d",
- "feePayerSignatures": [
- {
- "V": "0x4056",
- "R": "0x2db688af311077b6fdfe58e8bfb5e37395ab455aa4effe4a4e58947c15c250c5",
- "S": "0x33c5f09d96fdcf0c81533a970f8b89e01ccc6e76ceb489512767b305ed98a2d8"
}
], - "from": "0x5531a4d2b4237e87148630c3cb0051999bb205a9",
- "gas": "0x419ce0",
- "gasPrice": "0x5d21dba00",
- "gasUsed": "0xfa9a",
- "input": "0x0f73bcc20000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000948000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002544a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011ec88a8ec868ceba6ac2842726561746829000000000000000000000000000000",
- "logs": [
- {
- "address": "0xf93b0d3e03422416b787e850c51f7be47ab481e5",
- "topics": [
- "0x23b798d2d48eb64eaa15f6b93414c84032fada9b76ade5854af0acadd57d7065",
- "0xbcff12704be84695bcae04bed99f28737805bc5e5507d16a4d005393724d1a65",
- "0x0000000000000000000000000000000000000000000000000000000000009480"
], - "data": "0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000011ec88a8ec868ceba6ac2842726561746829000000000000000000000000000000",
- "blockNumber": "0x20f3106",
- "transactionHash": "0x26d4d91bb06fe98bc5f2f9f558dcef84cdf335941e974b03a3c91a9d86e1f718",
- "transactionIndex": "0x0",
- "blockHash": "0x58d6a86156082b3abc7c9a416684c855f5760c15088d242d665b8f0686cb1329",
- "logIndex": "0x0",
- "removed": false
}
], - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000400000000000000080000000000000000000000000000000000000000000000008000000000000000000000000000020000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000040000000000000000000000000000000008400000",
- "nonce": "0x24ad3",
- "senderTxHash": "0x9549b2cc47b2ba8cbb7d98ca24cf921bc703c4b9e9c0966530e5bd51b6e52bd9",
- "signatures": [
- {
- "V": "0x4056",
- "R": "0x7e4349651f9c9b773df70ec205611a6302fadc14fb7fc521b55e8eef7d757f3d",
- "S": "0x4570d64f1fe6cc851e03e69b03747872c1915e8a432c3e41edbd940e9f0e5741"
}
], - "status": "0x1",
- "to": "0xf93b0d3e03422416b787e850c51f7be47ab481e5",
- "transactionHash": "0x26d4d91bb06fe98bc5f2f9f558dcef84cdf335941e974b03a3c91a9d86e1f718",
- "transactionIndex": "0x0",
- "type": "TxTypeFeeDelegatedSmartContractExecution",
- "typeInt": 49,
- "value": "0x0"
}, - {
- "blockHash": "0x58d6a86156082b3abc7c9a416684c855f5760c15088d242d665b8f0686cb1329",
- "blockNumber": "0x20f3106",
- "contractAddress": null,
- "from": "0xbe02aba56bae1624e2c4f029e3a79308e2a19e98",
- "gas": "0xf4240",
- "gasPrice": "0x5d21dba00",
- "gasUsed": "0x380a8",
- "input": "0xb912b308000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000002732383930393433343030323439373237383836343032303638363933323531343534393532343900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007a4d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a30444151634451674145394f377a385a3472324447494e7257796a4e7639576159706439473149626c4d53483055313641396252537155504b75345874694f34615a6e576674347a684d586d5469386f47565764414c79752d5a4f33566b7577000000000000000000000000000000000000000000000000000000000000000000000000002864363433393730326666323562376665393037316638663564393634666333326133326432343765000000000000000000000000000000000000000000000000",
- "logs": [ ],
- "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
- "nonce": "0x178f758",
- "senderTxHash": "0x6400df2a8c7f1901be1e3aebd19ee350329526ac3490b39f2cbc12cf96540848",
- "signatures": [
- {
- "V": "0x4056",
- "R": "0xbc0e162799f8244fffc2792397d8d81b2ff2d1738069615f81b440822276de89",
- "S": "0xb5350e59a85d24d12a1a7e44017285ec37f34eadd3699c5fae58d65d0fc8667"
}
], - "status": "0x1",
- "to": "0x42d877932366dcaff751405c3185393f2803962d",
- "transactionHash": "0x6400df2a8c7f1901be1e3aebd19ee350329526ac3490b39f2cbc12cf96540848",
- "transactionIndex": "0x1",
- "type": "TxTypeSmartContractExecution",
- "typeInt": 48,
- "value": "0x0"
}, - {
- "blockHash": "0x58d6a86156082b3abc7c9a416684c855f5760c15088d242d665b8f0686cb1329",
- "blockNumber": "0x20f3106",
- "contractAddress": null,
- "from": "0xbe02aba56bae1624e2c4f029e3a79308e2a19e98",
- "gas": "0xf4240",
- "gasPrice": "0x5d21dba00",
- "gasUsed": "0x16f26",
- "input": "0xbf951c680000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002732313835363935343239343833333737343430373231343235313534353235343634353139373700000000000000000000000000000000000000000000000000",
- "logs": [ ],
- "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
- "nonce": "0x178f759",
- "senderTxHash": "0x90bd852864a964809b102a0a02131a2d06a2b35b270fce7b7be1e1176d4b31f3",
- "signatures": [
- {
- "V": "0x4056",
- "R": "0xc5e90777f58eb9c2ce5e9d84884c423eff2e0d09e0ebf2fd3c34bd38eccfd60d",
- "S": "0x1654e4e2677a5a30e5638e0c062e99ec99de03e81f591f6e90cedbbc6298354"
}
], - "status": "0x1",
- "to": "0x42d877932366dcaff751405c3185393f2803962d",
- "transactionHash": "0x90bd852864a964809b102a0a02131a2d06a2b35b270fce7b7be1e1176d4b31f3",
- "transactionIndex": "0x2",
- "type": "TxTypeSmartContractExecution",
- "typeInt": 48,
- "value": "0x0"
}, - {
- "blockHash": "0x58d6a86156082b3abc7c9a416684c855f5760c15088d242d665b8f0686cb1329",
- "blockNumber": "0x20f3106",
- "contractAddress": null,
- "feePayer": "0xff587ade196af0829edb1c0251d98443c09a8f3e",
- "feePayerSignatures": [
- {
- "V": "0x4055",
- "R": "0x5b5f06ca74ae28eaec6fb3c6d96c405b85f39bd3b95e5b98b60a619d809a5cee",
- "S": "0x515765826e51c2c42cd2b90fdeb75c5797e54958c76519b389c714bb2cbd1306"
}
], - "from": "0x7a86c007443d9df1771b48cd44eba2c1c74f8e43",
- "gas": "0x2dc6c0",
- "gasPrice": "0x5d21dba00",
- "gasUsed": "0x2d12cb",
- "input": "0x95e73ac4000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000462361663132383366662d363431342d343730342d396239352d3936393166663766333131642365656436386534376663396262336561646461303338363931623463313830380000000000000000000000000000000000000000000000000000",
- "logs": [ ],
- "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
- "nonce": "0x180",
- "senderTxHash": "0x48c8fb88e8b8105462099cfb05f0581bd15b61555329257b8814016997eeef81",
- "signatures": [
- {
- "V": "0x4055",
- "R": "0x600e2d7fe73c8631b1583c5b3d754fb82db1d14184bedbac99b2f7651f35a016",
- "S": "0x2325d869ab2a8e6cfebe3e5c18749e66157aed37a6ec644bc85e64d106844516"
}
], - "status": "0x0",
- "to": "0x186f16777b7e520e5181785e6086df91d0dbf6ba",
- "transactionHash": "0x2de4a353dec8688e262a2d427ee50b47e74dcdeae8ed90851fb3e085ba2c4b15",
- "transactionIndex": "0x3",
- "txError": "0x9",
- "type": "TxTypeFeeDelegatedSmartContractExecution",
- "typeInt": 49,
- "value": "0x0"
}
]
}