Skip to content

Instantly share code, notes, and snippets.

@kaichen
Created October 18, 2022 13:41
Show Gist options
  • Save kaichen/db5cb6961c9f02655c7bcbc821b8956a to your computer and use it in GitHub Desktop.
Save kaichen/db5cb6961c9f02655c7bcbc821b8956a to your computer and use it in GitHub Desktop.
tron tx response
{
"ret": [
{
"contractRet": "SUCCESS"
}
],
"signature": [
"e788847a9b215d40b3abff32fd33724f2089e948273c6597f0431446dc0863437c18163cf8b0a3ab0827eb57a0bbae9fce7daa0ad9dd3c8f0406d55f132b851000"
],
"txID": "78758c5303a49b7b9d010853b8774c55a554b57a26060190e3e338cb70043081",
"raw_data": {
"data": "53e2808b46e2808b43e2808b48e2808be7ae9ce2808be9aab0e2808befbc8ce681ade2808be5969ce2808be4bda0e2808be4b8ade2808be7adbeefbc8ce68993e2808be5bc802077e2808b77e2808b772e6f6be2808b7472e2808b6f6e2e66e2808b756e20e58fafe2808be58591e2808be68da2e2808b33e2808b35e2808b30e2808b30e2808b54e2808b52e2808b58",
"contract": [
{
"parameter": {
"value": {
"amount": 50,
"asset_name": "31303034323935",
"owner_address": "41012f7ebd705ad300e53c0283696d21051efc3c02",
"to_address": "41e967ce2c5bd9af0598a98b5fe0a251ad7b7e38d8"
},
"type_url": "type.googleapis.com/protocol.TransferAssetContract"
},
"type": "TransferAssetContract"
}
],
"ref_block_bytes": "4576",
"ref_block_hash": "1a75bfca3a2789dd",
"expiration": 1666097163000,
"timestamp": 1666097103908
},
"raw_data_hex": "0a02457622081a75bfca3a2789dd40f8d584d9be3052900153e2808b46e2808b43e2808b48e2808be7ae9ce2808be9aab0e2808befbc8ce681ade2808be5969ce2808be4bda0e2808be4b8ade2808be7adbeefbc8ce68993e2808be5bc802077e2808b77e2808b772e6f6be2808b7472e2808b6f6e2e66e2808b756e20e58fafe2808be58591e2808be68da2e2808b33e2808b35e2808b30e2808b30e2808b54e2808b52e2808b585a730802126f0a32747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e736665724173736574436f6e747261637412390a0731303034323935121541012f7ebd705ad300e53c0283696d21051efc3c021a1541e967ce2c5bd9af0598a98b5fe0a251ad7b7e38d8203270a48881d9be30"
}
{
"ret": [
{
"contractRet": "SUCCESS"
}
],
"signature": [
"5bd64f0c40b6da9f15b7a2a802066b33b5e11a74043bff62f5db63d08c41b0cc58c1b8cafecdd58d9c75d97e59ebfa3340002767567f1269417e8621f8ef1dbd01"
],
"txID": "9375355ef424ea85f06a740b44b1345862d59e6ae4f1159591682593ebbeba71",
"raw_data": {
"contract": [
{
"parameter": {
"value": {
"data": "a66a7bc8000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000ea4c8a36c70a50a1ed4e358d34e81b0c30abb97f000000000000000000000000605fdb3e970685bbb97ddbe0e7d1e42c368ec7fe000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e84800000000000000000000000000000000000000000000000000000000076cac440",
"owner_address": "41994fde94f9b962a3de0ab2abe1b7ccabda55ca1d",
"contract_address": "4176d6674c5bef7da7934c10e7c98c9f84de35809f",
"call_value": 1995000000
},
"type_url": "type.googleapis.com/protocol.TriggerSmartContract"
},
"type": "TriggerSmartContract"
}
],
"ref_block_bytes": "4563",
"ref_block_hash": "12b5ba2878d8cf8f",
"expiration": 1666097106000,
"fee_limit": 150000000,
"timestamp": 1666097047813
},
"raw_data_hex": "0a024563220812b5ba2878d8cf8f40d09881d9be305af602081f12f1020a31747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e54726967676572536d617274436f6e747261637412bb020a1541994fde94f9b962a3de0ab2abe1b7ccabda55ca1d12154176d6674c5bef7da7934c10e7c98c9f84de35809f18c091a5b707228402a66a7bc8000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000ea4c8a36c70a50a1ed4e358d34e81b0c30abb97f000000000000000000000000605fdb3e970685bbb97ddbe0e7d1e42c368ec7fe000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e84800000000000000000000000000000000000000000000000000000000076cac4407085d2fdd8be30900180a3c347"
}
{
"ret": [
{
"contractRet": "SUCCESS"
}
],
"signature": [
"99239d0c54ed9e3aaa00c1f200c22a31f906f717af411086fead19e50504d18730aea03ce04450260b73085eca9f53232d245b47fb872b55087d4091e7e7241501"
],
"txID": "02c3c2887d5984aa7ea4a8831817fc32780c8ab684c704f87b1dc7542b45dd94",
"raw_data": {
"contract": [
{
"parameter": {
"value": {
"amount": 7596201,
"owner_address": "41dd9ebb6a9662a9c441829b6660b384bcb5f60722",
"to_address": "413cd3ab613735295e13f7da641a1c4a3276083e9f"
},
"type_url": "type.googleapis.com/protocol.TransferContract"
},
"type": "TransferContract"
}
],
"ref_block_bytes": "4588",
"ref_block_hash": "92293aaf36929958",
"expiration": 1666097163000,
"timestamp": 1666097103733
},
"raw_data_hex": "0a024588220892293aaf3692995840f8d584d9be305a68080112640a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e73666572436f6e747261637412330a1541dd9ebb6a9662a9c441829b6660b384bcb5f607221215413cd3ab613735295e13f7da641a1c4a3276083e9f18a9d1cf0370f58681d9be30"
}
{
"id": "7f481a5e4d1e33d5a1d7e16580093f721a0008604716b55fb8933c8641fd47a3",
"fee": 4102000,
"blockNumber": 45172105,
"blockTimeStamp": 1666097106000,
"contractResult": [
"0000000000000000000000000000000000000000000000000000000000000000"
],
"contract_address": "41a614f803b6fd780986a42c78ec9c7f77e6ded13c",
"receipt": {
"energy_fee": 4102000,
"energy_usage_total": 14650,
"net_usage": 345,
"result": "SUCCESS"
},
"log": [
{
"address": "a614f803b6fd780986a42c78ec9c7f77e6ded13c",
"topics": [
"ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"00000000000000000000000025459760db316d339c4b1cf8bf2bf116204ee1c8",
"000000000000000000000000c5115240e177717f76b85478505725ebb4e381f0"
],
"data": "0000000000000000000000000000000000000000000000000000000000989680"
}
]
}
{
"ret": [
{
"contractRet": "SUCCESS"
}
],
"signature": [
"63817fabde5694dd4a076bb7f6889d321532b33d106ac50a8f9c886403a77787e909c4f389256ce99652ce637912c49ed4d494c27dcc637984b987fa3a0c890a00"
],
"txID": "7f481a5e4d1e33d5a1d7e16580093f721a0008604716b55fb8933c8641fd47a3",
"raw_data": {
"contract": [
{
"parameter": {
"value": {
"data": "a9059cbb000000000000000000000041c5115240e177717f76b85478505725ebb4e381f00000000000000000000000000000000000000000000000000000000000989680",
"owner_address": "4125459760db316d339c4b1cf8bf2bf116204ee1c8",
"contract_address": "41a614f803b6fd780986a42c78ec9c7f77e6ded13c"
},
"type_url": "type.googleapis.com/protocol.TriggerSmartContract"
},
"type": "TriggerSmartContract"
}
],
"ref_block_bytes": "4575",
"ref_block_hash": "dee3c004be34ef94",
"expiration": 1666097160000,
"fee_limit": 100000000,
"timestamp": 1666097103361
},
"raw_data_hex": "0a0245752208dee3c004be34ef9440c0be84d9be305aae01081f12a9010a31747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e54726967676572536d617274436f6e747261637412740a154125459760db316d339c4b1cf8bf2bf116204ee1c8121541a614f803b6fd780986a42c78ec9c7f77e6ded13c2244a9059cbb000000000000000000000041c5115240e177717f76b85478505725ebb4e381f0000000000000000000000000000000000000000000000000000000000098968070818481d9be30900180c2d72f"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment