{"action":"created","issue":{"url":"https://api.github.com/repos/EOSIO/eosjs/issues/202","repository_url":"https://api.github.com/repos/EOSIO/eosjs","labels_url":"https://api.github.com/repos/EOSIO/eosjs/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/EOSIO/eosjs/issues/202/comments","events_url":"https://api.github.com/repos/EOSIO/eosjs/issues/202/events","html_url":"https://github.com/EOSIO/eosjs/issues/202","id":333057679,"node_id":"MDU6SXNzdWUzMzMwNTc2Nzk=","number":202,"title":"How do I get the original arguments from the data in the transaction","user":{"login":"ylic2018","id":36983407,"node_id":"MDQ6VXNlcjM2OTgzNDA3","avatar_url":"https://avatars1.githubusercontent.com/u/36983407?v=4","gravatar_id":"","url":"https://api.github.com/users/ylic2018","html_url":"https://github.com/ylic2018","followers_url":"https://api.github.com/users/ylic2018/followers","following_url":"https://api.github.com/users/ylic2018/following{/other_user}","gists_url":"https://api.github.com/users/ylic2018/gists{/gist_id}","starred_url":"https://api.github.com/users/ylic2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ylic2018/subscriptions","organizations_url":"https://api.github.com/users/ylic2018/orgs","repos_url":"https://api.github.com/users/ylic2018/repos","events_url":"https://api.github.com/users/ylic2018/events{/privacy}","received_events_url":"https://api.github.com/users/ylic2018/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-17T12:04:28Z","updated_at":"2018-06-17T12:05:53Z","closed_at":null,"author_association":"NONE","body":"## Now, I have the following data:\r\n\r\n>\r\n    {\r\n    \"compression\": \"none\",\r\n    \"transaction\": {\r\n        \"expiration\": \"2018-06-17T12:16:44\",\r\n        \"ref_block_num\": 5998,\r\n        \"ref_block_prefix\": 241312377,\r\n        \"net_usage_words\": 0,\r\n        \"max_cpu_usage_ms\": 0,\r\n        \"delay_sec\": 0,\r\n        \"context_free_actions\": [],\r\n        \"actions\": [\r\n            {\r\n                \"account\": \"eosio\",\r\n                \"name\": \"newaccount\",\r\n                \"authorization\": [\r\n                    {\r\n                        \"actor\": \"aaaaaaaaaaaa\",\r\n                        \"permission\": \"active\"\r\n                    }\r\n                ],\r\n                \"data\": \"608c31c618638c3170ce39e79c73ce3901000000010002c0dab2c9c52ff2050982aa5d773b8c786bb7e4590eca916f4bbdee6c9b7f87080100000001000000010002c0dab2c9c52ff2050982aa5d773b8c786bb7e4590eca916f4bbdee6c9b7f870801000000\"\r\n            },\r\n            {\r\n                \"account\": \"eosio\",\r\n                \"name\": \"buyrambytes\",\r\n                \"authorization\": [\r\n                    {\r\n                        \"actor\": \"aaaaaaaaaaaa\",\r\n                        \"permission\": \"active\"\r\n                    }\r\n                ],\r\n                \"data\": \"608c31c618638c3170ce39e79c73ce3900100000\"\r\n            },\r\n            {\r\n                \"account\": \"eosio\",\r\n                \"name\": \"delegatebw\",\r\n                \"authorization\": [\r\n                    {\r\n                        \"actor\": \"aaaaaaaaaaaa\",\r\n                        \"permission\": \"active\"\r\n                    }\r\n                ],\r\n                \"data\": \"608c31c618638c3170ce39e79c73ce39010000000000000001454f5300000000010000000000000001454f530000000000\"\r\n            }\r\n        ],\r\n        \"transaction_extensions\": []\r\n    },\r\n    \"signatures\": [\r\n        \"SIG_K1_K5i7vUMWT8hwFoUz4Va8WbzZNZoMP1DN886fefWyKJ7NeDVAZEQqajiNc6eX24f1qdAqnJQkvCawNCgEUrgzRomFY74Gfr\"\r\n    ]\r\n}\r\n\r\n\r\n## Now, I need to use eosjs to get the original arguments from data. Such as:\r\n\r\n>\r\n           newaccount:{\r\n                creator: 'aaaaaaaaaaaa',\r\n                name: 'bbbbbbbbbbbb',\r\n                owner: 'EOS6MRZJCu9qCFRhNZZ6jZHJdMN5NVJWHFchGgYdYUT7YeBmgpq51',\r\n                active: 'EOS6MRZJCu9qCFRhNZZ6jZHJdMN5NVJWHFchGgYdYUT7YeBmgpq51'\r\n            }\r\n            buyrambytes:{\r\n                payer: 'aaaaaaaaaaaa',\r\n                receiver: 'bbbbbbbbbbbb',\r\n                bytes: 4096\r\n            }\r\n            delegatebw:{\r\n                from: 'aaaaaaaaaaaa',\r\n                receiver: 'bbbbbbbbbbbb',\r\n                stake_net_quantity: '0.1 EOS',\r\n                stake_cpu_quantity: '0.1 EOS',\r\n                transfer: 0\r\n            })\r\n\r\n## How do I do that?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/EOSIO/eosjs/issues/comments/397874348","html_url":"https://github.com/EOSIO/eosjs/issues/202#issuecomment-397874348","issue_url":"https://api.github.com/repos/EOSIO/eosjs/issues/202","id":397874348,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Nzg3NDM0OA==","user":{"login":"ylic2018","id":36983407,"node_id":"MDQ6VXNlcjM2OTgzNDA3","avatar_url":"https://avatars1.githubusercontent.com/u/36983407?v=4","gravatar_id":"","url":"https://api.github.com/users/ylic2018","html_url":"https://github.com/ylic2018","followers_url":"https://api.github.com/users/ylic2018/followers","following_url":"https://api.github.com/users/ylic2018/following{/other_user}","gists_url":"https://api.github.com/users/ylic2018/gists{/gist_id}","starred_url":"https://api.github.com/users/ylic2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ylic2018/subscriptions","organizations_url":"https://api.github.com/users/ylic2018/orgs","repos_url":"https://api.github.com/users/ylic2018/repos","events_url":"https://api.github.com/users/ylic2018/events{/privacy}","received_events_url":"https://api.github.com/users/ylic2018/received_events","type":"User","site_admin":false},"created_at":"2018-06-17T12:05:53Z","updated_at":"2018-06-17T12:05:53Z","author_association":"NONE","body":"@jeremi @dbrock @tholder @spoon16 @datchley "}}
{"actor":{"display_login":"ylic2018"}}