트랜잭션 해시값으로 해당 트랜잭션 실행 결과를 조회합니다. 응답의 status
필드를 통해 실행 성공 여부를 알 수 있습니다.
요청이 성공적입니다.
요청이 유효하지 않습니다.
curl -i -X GET \ -u <username>:<password> \ 'https://wallet-api.klaytnapi.com/v2/tx/{transaction-hash}' \ -H 'x-chain-id: string'
{- "blockHash": "0x205c2537286c8ac7889961e39c438f868385238c202deaa4398f85a3c140810c",
- "blockNumber": "0x2e5a",
- "codeFormat": "0x0",
- "contractAddress": "0x0a868e321c0c689c2093001fdf7ecdb9d3ed79e1",
- "feePayer": "0x85b98485444c89880cd9c48807cef727c296f2da",
- "feePayerSignatures": [
- {
- "R": "0xd94aa19287f89572f2f5660856d16e32bc2c0192d7443a55af614bcdec0e1e8",
- "S": "0x424324292dd04da3930679bd5774723d12ed9e553f3a18eaacb4b89d85a26537",
- "V": "0x7f5"
}
], - "from": "0x60b5c6b28a8a0339a43a0acd5f65eede5f68cf0e",
- "gas": "0x895440",
- "gasPrice": "0x5d21dba00",
- "gasUsed": "0x25de7",
- "hash": "0x3d13d31bd4b1e6ca37c4e73cfcb0ee4374a06290e84c6b01a41143c2cc2fa322",
- "humanReadable": false,
- "input": "0x60806040526000805534801561001457600080fd5b50610116806100246000396000f3006080604052600436106053576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306661abd14605857806342cbb15c146080578063d14e62b81460a8575b600080fd5b348015606357600080fd5b50606a60d2565b6040518082815260200191505060405180910390f35b348015608b57600080fd5b50609260d8565b6040518082815260200191505060405180910390f35b34801560b357600080fd5b5060d06004803603810190808035906020019092919050505060e0565b005b60005481565b600043905090565b80600081905550505600a165627a7a7230582064856de85a2706463526593b08dd790054536042ef66d3204018e6790a2208d10029",
- "logs": [ ],
- "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
- "nonce": "0x0",
- "senderTxHash": "0x01bd21f13617fc725b80975a68ff1bc2002aec66277e536e5643a8791518c3df",
- "signatures": [
- {
- "R": "0x6f6371e31a01956e8810a026e173ed4a0861c53c9fc116c7a8047bd108458650",
- "S": "0x3f7344ab86dcfb05c4ca38f51cf258d4981c4e17446567f8d68ec18a68e3dfba",
- "V": "0x7f6"
}
], - "status": "Committed",
- "to": null,
- "transactionHash": "0x3d13d31bd4b1e6ca37c4e73cfcb0ee4374a06290e84c6b01a41143c2cc2fa322",
- "transactionIndex": "0x0",
- "type": "TxTypeFeeDelegatedSmartContractDeploy",
- "typeInt": 41,
- "value": "0x0",
- "effectiveGasPrice": "0xba43b7400"
}