eos icon indicating copy to clipboard operation
eos copied to clipboard

Is there any official document explaining EOS transaction structure?

Open kristieguo opened this issue 8 years ago • 1 comments

Hi, is there an official document explaining EOS transaction structure? I was wondering what these actually mean: "expiration", "region", "ref_block_num", "delay_sec". Thanks.

{
    "transactions": [
        {
            "seq_num": 1,
            "transaction_id": "4b55ef1f2e837aa1dd7118b3bb0bfd2d0033c804c81c5060e51d5b91e14e8de6",
            "transaction": {
                "signatures": [
                    "SIG_K1_K4smeRWPCs71GQMTj3CRoEYR2y2pLuBowqhRx7zETZ8wexATkgsGzPqyC6eXyKJbYSv2UHRH6wqvqL6VPcAYfYQsHPmfDB"
                ],
                "compression": "none",
                "packed_context_free_data": "",
                "context_free_data": [],
                "packed_trx": "5e93f25a0000090154d7ce25000000000100a6823403ea30550000000000a53176010000000000ea305500000000a8ed32321d000000005c95b1ca40420f000000000004454f5300000000046d656d6f",
                "transaction": {
                    "expiration": "2018-05-09T06:21:18",
                    "region": 0,
                    "ref_block_num": 265,
                    "ref_block_prefix": 634312532,
                    "max_net_usage_words": 0,
                    "max_kcpu_usage": 0,
                    "delay_sec": 0,
                    "context_free_actions": [],
                    "actions": [
                        {
                            "account": "eosio.token",
                            "name": "issue",
                            "authorization": [
                                {
                                    "actor": "eosio",
                                    "permission": "active"
                                }
                            ],
                            "data": {
                                "to": "tester",
                                "quantity": "100.0000 EOS",
                                "memo": "memo"
                            },
                            "hex_data": "000000005c95b1ca40420f000000000004454f5300000000046d656d6f"
                        }
                    ]
                }
            }
        }
    ]
}

kristieguo avatar May 10 '18 07:05 kristieguo

Just found out the slim branch will release a new api called getActions, closing this issue.

kristieguo avatar May 10 '18 08:05 kristieguo