Skip to content

create eos account with rpc api

Ady Liu edited this page Sep 5, 2018 · 3 revisions

create eos account with rpc-api

1. pack newaccount data

curl http://jungle.cryptolions.io:18888/v1/chain/abi_json_to_bin -d '
{
  "code" : "eosio",
  "action" : "newaccount",
  "args" : {
    "creator" : "shijiebanggg",
    "name" : "womenshi1111",
    "owner" : {
      "accounts" : [ ],
      "keys" : [ {
        "key" : "EOS7XP7Ks7j68Uh64HGTEeiaMsgAgKcuZbYAAf86SoPLBpxcBX5it",
        "weight" : 1
      } ],
      "threshold" : 1,
      "waits" : [ ]
    },
    "active" : {
      "accounts" : [ ],
      "keys" : [ {
        "key" : "EOS7XP7Ks7j68Uh64HGTEeiaMsgAgKcuZbYAAf86SoPLBpxcBX5it",
        "weight" : 1
      } ],
      "threshold" : 1,
      "waits" : [ ]
    }
  }
}
'

result

{"binargs":"c0189be628f75cc3104208aee1a924e5010000000100035b2928ff59b870a920ac079a1aad574014abffc6db9572ece7d1f9f16e334bee01000000010000000100035b2928ff59b870a920ac079a1aad574014abffc6db9572ece7d1f9f16e334bee01000000"}

2. pack buyrambytes data

curl http://jungle.cryptolions.io:18888/v1/chain/abi_json_to_bin -d '
{
  "code" : "eosio",
  "action" : "buyrambytes",
  "args" : {
    "payer" : "shijiebanggg",
    "receiver" : "womenshi1111",
    "bytes" : 8192
  }
}
'

result

{"binargs":"c0189be628f75cc3104208aee1a924e500200000"}

3. pack delegatebw data

curl http://jungle.cryptolions.io:18888/v1/chain/abi_json_to_bin -d '
{
  "code" : "eosio",
  "action" : "delegatebw",
  "args" : {
    "from" : "shijiebanggg",
    "receiver" : "womenshi1111",
    "stake_net_quantity" : "0.1000 EOS",
    "stake_cpu_quantity" : "0.1000 EOS",
    "transfer" : 0
  }
}
'

result

{"binargs":"c0189be628f75cc3104208aee1a924e5e80300000000000004454f5300000000e80300000000000004454f530000000000"}

4. get chain info

curl http://jungle.cryptolions.io:18888/v1/chain/get_info

result

{
    "server_version": "e87d245d",
    "chain_id": "038f4b0fc8ff18a4f0842a8f0564611f6e96e8535901dd45e43ac8691a1c4dca",
    "head_block_num": 13241975,
    "last_irreversible_block_num": 13241651,
    "last_irreversible_block_id": "00ca0d33113ad0a83d65ebedb7a894c2d3931636ca343dc5203cbd15d28279cb",
    "head_block_id": "00ca0e77fd7b6c5c812c84032a8b28e49d10fe91d544f9e86b3923aa029d4d12",
    "head_block_time": "2018-09-05T08:37:36.000",
    "head_block_producer": "eos42panther",
    "virtual_block_cpu_limit": 200000000,
    "virtual_block_net_limit": 1048576000,
    "block_cpu_limit": 199900,
    "block_net_limit": 1048576,
    "server_version_string": "v1.2.3-dirty"
}

5. get the latest block

curl http://jungle.cryptolions.io:18888/v1/chain/get_block -d '
{
  "block_num_or_id" : "00ca0e77fd7b6c5c812c84032a8b28e49d10fe91d544f9e86b3923aa029d4d12"
}
'

result

{
    "timestamp": "2018-09-05T08:37:36.000",
    "producer": "eos42panther",
    "confirmed": 239,
    "previous": "00ca0e76c1fd9742c55ff7a629b96e1e640ebc35eee7a1627c676aef63a24ab6",
    "transaction_mroot": "0000000000000000000000000000000000000000000000000000000000000000",
    "action_mroot": "7c10f4413d04bec86be71993c01e6955e916ba62f83fc15b908d5e18b85b1af5",
    "schedule_version": 211,
    "new_producers": null,
    "header_extensions": [],
    "producer_signature": "SIG_K1_KWQbCpgLFuV4TqQCpe5CEmpVNM7hXjZxepjtHYFfMgamszPjRAYNmgPEXEDuAbQQmzh2y88xicH8DGRD2qwYS21KwLTbvd",
    "transactions": [],
    "block_extensions": [],
    "id": "00ca0e77fd7b6c5c812c84032a8b28e49d10fe91d544f9e86b3923aa029d4d12",
    "block_num": 13241975,
    "ref_block_prefix": 58993793
}

6. unlock the wallet of creator

curl http://127.0.0.1:8900/v1/wallet/unlock -d '
[ "default", "PW5KGXiGoDXEM54YWn6yhjCmNkAwpyDemLUqRaniAwuhTArciS6j9" ]
'

7. sign transaction

curl http://127.0.0.1:8900/v1/wallet/sign_transaction -d '
[ {
  "actions" : [ {
    "account" : "eosio",
    "name" : "newaccount",
    "authorization" : [ {
      "actor" : "shijiebanggg",
      "permission" : "active"
    } ],
    "data" : "c0189be628f75cc3104208aee1a924e5010000000100035b2928ff59b870a920ac079a1aad574014abffc6db9572ece7d1f9f16e334bee01000000010000000100035b2928ff59b870a920ac079a1aad574014abffc6db9572ece7d1f9f16e334bee01000000"
  }, {
    "account" : "eosio",
    "name" : "buyrambytes",
    "authorization" : [ {
      "actor" : "shijiebanggg",
      "permission" : "active"
    } ],
    "data" : "c0189be628f75cc3104208aee1a924e500200000"
  }, {
    "account" : "eosio",
    "name" : "delegatebw",
    "authorization" : [ {
      "actor" : "shijiebanggg",
      "permission" : "active"
    } ],
    "data" : "c0189be628f75cc3104208aee1a924e5e80300000000000004454f5300000000e80300000000000004454f530000000000"
  } ],
  "expiration" : "2018-09-05T08:40:37",
  "max_cpu_usage_ms" : 0,
  "max_net_usage_words" : 0,
  "ref_block_num" : 13241975,
  "ref_block_prefix" : 58993793,
  "region" : "0"
}, [ "EOS7XP7Ks7j68Uh64HGTEeiaMsgAgKcuZbYAAf86SoPLBpxcBX5it" ], "038f4b0fc8ff18a4f0842a8f0564611f6e96e8535901dd45e43ac8691a1c4dca" ]
'

result

{
    "expiration": "2018-09-05T08:40:37",
    "ref_block_num": 3703,
    "ref_block_prefix": 58993793,
    "max_net_usage_words": 0,
    "max_cpu_usage_ms": 0,
    "delay_sec": 0,
    "context_free_actions": [],
    "actions": [
        {
            "account": "eosio",
            "name": "newaccount",
            "authorization": [
                {
                    "actor": "shijiebanggg",
                    "permission": "active"
                }
            ],
            "data": "c0189be628f75cc3104208aee1a924e5010000000100035b2928ff59b870a920ac079a1aad574014abffc6db9572ece7d1f9f16e334bee01000000010000000100035b2928ff59b870a920ac079a1aad574014abffc6db9572ece7d1f9f16e334bee01000000"
        },
        {
            "account": "eosio",
            "name": "buyrambytes",
            "authorization": [
                {
                    "actor": "shijiebanggg",
                    "permission": "active"
                }
            ],
            "data": "c0189be628f75cc3104208aee1a924e500200000"
        },
        {
            "account": "eosio",
            "name": "delegatebw",
            "authorization": [
                {
                    "actor": "shijiebanggg",
                    "permission": "active"
                }
            ],
            "data": "c0189be628f75cc3104208aee1a924e5e80300000000000004454f5300000000e80300000000000004454f530000000000"
        }
    ],
    "transaction_extensions": [],
    "signatures": [
        "SIG_K1_JxRf2kuovp55VMJQpbE7QDypbTXkGYE4t9tWrMNHmpvoynL8isNaJDZLDCmNeY3rUvYbwAWm5J1DoQJcHGWkXMsno7d4fX"
    ],
    "context_free_data": []
}

8. push the signed transaction

curl http://jungle.cryptolions.io:18888/v1/chain/push_transaction -d '
{
  "compression" : "none",
  "transaction" : {
    "actions" : [ {
      "account" : "eosio",
      "name" : "newaccount",
      "authorization" : [ {
        "actor" : "shijiebanggg",
        "permission" : "active"
      } ],
      "data" : "c0189be628f75cc3104208aee1a924e5010000000100035b2928ff59b870a920ac079a1aad574014abffc6db9572ece7d1f9f16e334bee01000000010000000100035b2928ff59b870a920ac079a1aad574014abffc6db9572ece7d1f9f16e334bee01000000"
    }, {
      "account" : "eosio",
      "name" : "buyrambytes",
      "authorization" : [ {
        "actor" : "shijiebanggg",
        "permission" : "active"
      } ],
      "data" : "c0189be628f75cc3104208aee1a924e500200000"
    }, {
      "account" : "eosio",
      "name" : "delegatebw",
      "authorization" : [ {
        "actor" : "shijiebanggg",
        "permission" : "active"
      } ],
      "data" : "c0189be628f75cc3104208aee1a924e5e80300000000000004454f5300000000e80300000000000004454f530000000000"
    } ],
    "context_free_actions" : [ ],
    "context_free_data" : [ ],
    "delay_sec" : 0,
    "expiration" : "2018-09-05T08:40:37",
    "max_cpu_usage_ms" : 0,
    "max_net_usage_words" : 0,
    "ref_block_num" : 3703,
    "ref_block_prefix" : 58993793,
    "signatures" : [ "SIG_K1_JxRf2kuovp55VMJQpbE7QDypbTXkGYE4t9tWrMNHmpvoynL8isNaJDZLDCmNeY3rUvYbwAWm5J1DoQJcHGWkXMsno7d4fX" ],
    "transaction_extensions" : [ ]
  },
  "signatures" : [ "SIG_K1_JxRf2kuovp55VMJQpbE7QDypbTXkGYE4t9tWrMNHmpvoynL8isNaJDZLDCmNeY3rUvYbwAWm5J1DoQJcHGWkXMsno7d4fX" ]
}
'

result

{
    "transaction_id": "b3e94392b2f2b3dfca4eab15aa5ccf38036a9ba572703a73868de501f3125bc8",
    "processed": {
        "id": "b3e94392b2f2b3dfca4eab15aa5ccf38036a9ba572703a73868de501f3125bc8",
        "receipt": {
            "status": "executed",
            "cpu_usage_us": 7214,
            "net_usage_words": 42
        },
        "elapsed": 7214,
        "net_usage": 336,
        "scheduled": false,
        "action_traces": [
            {
                "receipt": {
                    "receiver": "eosio",
                    "act_digest": "5cd57bb40bfb6e44b8b0cd4a3601550a04745f71a2af5c34f4f4a678270007e3",
                    "global_sequence": 31098415,
                    "recv_sequence": 14639650,
                    "auth_sequence": [
                        [
                            "shijiebanggg",
                            65
                        ]
                    ],
                    "code_sequence": 10,
                    "abi_sequence": 11
                },
                "act": {
                    "account": "eosio",
                    "name": "newaccount",
                    "authorization": [
                        {
                            "actor": "shijiebanggg",
                            "permission": "active"
                        }
                    ],
                    "data": {
                        "creator": "shijiebanggg",
                        "name": "womenshi1111",
                        "owner": {
                            "threshold": 1,
                            "keys": [
                                {
                                    "key": "EOS7XP7Ks7j68Uh64HGTEeiaMsgAgKcuZbYAAf86SoPLBpxcBX5it",
                                    "weight": 1
                                }
                            ],
                            "accounts": [],
                            "waits": []
                        },
                        "active": {
                            "threshold": 1,
                            "keys": [
                                {
                                    "key": "EOS7XP7Ks7j68Uh64HGTEeiaMsgAgKcuZbYAAf86SoPLBpxcBX5it",
                                    "weight": 1
                                }
                            ],
                            "accounts": [],
                            "waits": []
                        }
                    },
                    "hex_data": "c0189be628f75cc3104208aee1a924e5010000000100035b2928ff59b870a920ac079a1aad574014abffc6db9572ece7d1f9f16e334bee01000000010000000100035b2928ff59b870a920ac079a1aad574014abffc6db9572ece7d1f9f16e334bee01000000"
                },
                "elapsed": 1281,
                "cpu_usage": 0,
                "console": "",
                "total_cpu_usage": 0,
                "trx_id": "b3e94392b2f2b3dfca4eab15aa5ccf38036a9ba572703a73868de501f3125bc8",
                "inline_traces": []
            },
            {
                "receipt": {
                    "receiver": "eosio",
                    "act_digest": "8b4eb245889f9940bac5fd7541d4010f78019a48dd145babefd632547cca81bf",
                    "global_sequence": 31098416,
                    "recv_sequence": 14639651,
                    "auth_sequence": [
                        [
                            "shijiebanggg",
                            66
                        ]
                    ],
                    "code_sequence": 10,
                    "abi_sequence": 11
                },
                "act": {
                    "account": "eosio",
                    "name": "buyrambytes",
                    "authorization": [
                        {
                            "actor": "shijiebanggg",
                            "permission": "active"
                        }
                    ],
                    "data": {
                        "payer": "shijiebanggg",
                        "receiver": "womenshi1111",
                        "bytes": 8192
                    },
                    "hex_data": "c0189be628f75cc3104208aee1a924e500200000"
                },
                "elapsed": 1653,
                "cpu_usage": 0,
                "console": "",
                "total_cpu_usage": 0,
                "trx_id": "b3e94392b2f2b3dfca4eab15aa5ccf38036a9ba572703a73868de501f3125bc8",
                "inline_traces": [
                    {
                        "receipt": {
                            "receiver": "eosio.token",
                            "act_digest": "5b92fbed50d07dc9d69a50e539c363577b722c338fc79462f23a71b57de4e182",
                            "global_sequence": 31098417,
                            "recv_sequence": 1618105,
                            "auth_sequence": [
                                [
                                    "eosio.ram",
                                    152917
                                ],
                                [
                                    "shijiebanggg",
                                    67
                                ]
                            ],
                            "code_sequence": 2,
                            "abi_sequence": 2
                        },
                        "act": {
                            "account": "eosio.token",
                            "name": "transfer",
                            "authorization": [
                                {
                                    "actor": "shijiebanggg",
                                    "permission": "active"
                                },
                                {
                                    "actor": "eosio.ram",
                                    "permission": "active"
                                }
                            ],
                            "data": {
                                "from": "shijiebanggg",
                                "to": "eosio.ram",
                                "quantity": "0.4646 EOS",
                                "memo": "buy ram"
                            },
                            "hex_data": "c0189be628f75cc3000090e602ea3055261200000000000004454f5300000000076275792072616d"
                        },
                        "elapsed": 584,
                        "cpu_usage": 0,
                        "console": "",
                        "total_cpu_usage": 0,
                        "trx_id": "b3e94392b2f2b3dfca4eab15aa5ccf38036a9ba572703a73868de501f3125bc8",
                        "inline_traces": [
                            {
                                "receipt": {
                                    "receiver": "shijiebanggg",
                                    "act_digest": "5b92fbed50d07dc9d69a50e539c363577b722c338fc79462f23a71b57de4e182",
                                    "global_sequence": 31098418,
                                    "recv_sequence": 33,
                                    "auth_sequence": [
                                        [
                                            "eosio.ram",
                                            152918
                                        ],
                                        [
                                            "shijiebanggg",
                                            68
                                        ]
                                    ],
                                    "code_sequence": 2,
                                    "abi_sequence": 2
                                },
                                "act": {
                                    "account": "eosio.token",
                                    "name": "transfer",
                                    "authorization": [
                                        {
                                            "actor": "shijiebanggg",
                                            "permission": "active"
                                        },
                                        {
                                            "actor": "eosio.ram",
                                            "permission": "active"
                                        }
                                    ],
                                    "data": {
                                        "from": "shijiebanggg",
                                        "to": "eosio.ram",
                                        "quantity": "0.4646 EOS",
                                        "memo": "buy ram"
                                    },
                                    "hex_data": "c0189be628f75cc3000090e602ea3055261200000000000004454f5300000000076275792072616d"
                                },
                                "elapsed": 100,
                                "cpu_usage": 0,
                                "console": "",
                                "total_cpu_usage": 0,
                                "trx_id": "b3e94392b2f2b3dfca4eab15aa5ccf38036a9ba572703a73868de501f3125bc8",
                                "inline_traces": []
                            },
                            {
                                "receipt": {
                                    "receiver": "eosio.ram",
                                    "act_digest": "5b92fbed50d07dc9d69a50e539c363577b722c338fc79462f23a71b57de4e182",
                                    "global_sequence": 31098419,
                                    "recv_sequence": 238739,
                                    "auth_sequence": [
                                        [
                                            "eosio.ram",
                                            152919
                                        ],
                                        [
                                            "shijiebanggg",
                                            69
                                        ]
                                    ],
                                    "code_sequence": 2,
                                    "abi_sequence": 2
                                },
                                "act": {
                                    "account": "eosio.token",
                                    "name": "transfer",
                                    "authorization": [
                                        {
                                            "actor": "shijiebanggg",
                                            "permission": "active"
                                        },
                                        {
                                            "actor": "eosio.ram",
                                            "permission": "active"
                                        }
                                    ],
                                    "data": {
                                        "from": "shijiebanggg",
                                        "to": "eosio.ram",
                                        "quantity": "0.4646 EOS",
                                        "memo": "buy ram"
                                    },
                                    "hex_data": "c0189be628f75cc3000090e602ea3055261200000000000004454f5300000000076275792072616d"
                                },
                                "elapsed": 10,
                                "cpu_usage": 0,
                                "console": "",
                                "total_cpu_usage": 0,
                                "trx_id": "b3e94392b2f2b3dfca4eab15aa5ccf38036a9ba572703a73868de501f3125bc8",
                                "inline_traces": []
                            }
                        ]
                    },
                    {
                        "receipt": {
                            "receiver": "eosio.token",
                            "act_digest": "69a3e32ed4c928b5e65e58ac73c02d2b09e2f35438e1b64b3af8b2cb76525bc9",
                            "global_sequence": 31098420,
                            "recv_sequence": 1618106,
                            "auth_sequence": [
                                [
                                    "shijiebanggg",
                                    70
                                ]
                            ],
                            "code_sequence": 2,
                            "abi_sequence": 2
                        },
                        "act": {
                            "account": "eosio.token",
                            "name": "transfer",
                            "authorization": [
                                {
                                    "actor": "shijiebanggg",
                                    "permission": "active"
                                }
                            ],
                            "data": {
                                "from": "shijiebanggg",
                                "to": "eosio.ramfee",
                                "quantity": "0.0024 EOS",
                                "memo": "ram fee"
                            },
                            "hex_data": "c0189be628f75cc3a0d492e602ea3055180000000000000004454f53000000000772616d20666565"
                        },
                        "elapsed": 520,
                        "cpu_usage": 0,
                        "console": "",
                        "total_cpu_usage": 0,
                        "trx_id": "b3e94392b2f2b3dfca4eab15aa5ccf38036a9ba572703a73868de501f3125bc8",
                        "inline_traces": [
                            {
                                "receipt": {
                                    "receiver": "shijiebanggg",
                                    "act_digest": "69a3e32ed4c928b5e65e58ac73c02d2b09e2f35438e1b64b3af8b2cb76525bc9",
                                    "global_sequence": 31098421,
                                    "recv_sequence": 34,
                                    "auth_sequence": [
                                        [
                                            "shijiebanggg",
                                            71
                                        ]
                                    ],
                                    "code_sequence": 2,
                                    "abi_sequence": 2
                                },
                                "act": {
                                    "account": "eosio.token",
                                    "name": "transfer",
                                    "authorization": [
                                        {
                                            "actor": "shijiebanggg",
                                            "permission": "active"
                                        }
                                    ],
                                    "data": {
                                        "from": "shijiebanggg",
                                        "to": "eosio.ramfee",
                                        "quantity": "0.0024 EOS",
                                        "memo": "ram fee"
                                    },
                                    "hex_data": "c0189be628f75cc3a0d492e602ea3055180000000000000004454f53000000000772616d20666565"
                                },
                                "elapsed": 59,
                                "cpu_usage": 0,
                                "console": "",
                                "total_cpu_usage": 0,
                                "trx_id": "b3e94392b2f2b3dfca4eab15aa5ccf38036a9ba572703a73868de501f3125bc8",
                                "inline_traces": []
                            },
                            {
                                "receipt": {
                                    "receiver": "eosio.ramfee",
                                    "act_digest": "69a3e32ed4c928b5e65e58ac73c02d2b09e2f35438e1b64b3af8b2cb76525bc9",
                                    "global_sequence": 31098422,
                                    "recv_sequence": 238655,
                                    "auth_sequence": [
                                        [
                                            "shijiebanggg",
                                            72
                                        ]
                                    ],
                                    "code_sequence": 2,
                                    "abi_sequence": 2
                                },
                                "act": {
                                    "account": "eosio.token",
                                    "name": "transfer",
                                    "authorization": [
                                        {
                                            "actor": "shijiebanggg",
                                            "permission": "active"
                                        }
                                    ],
                                    "data": {
                                        "from": "shijiebanggg",
                                        "to": "eosio.ramfee",
                                        "quantity": "0.0024 EOS",
                                        "memo": "ram fee"
                                    },
                                    "hex_data": "c0189be628f75cc3a0d492e602ea3055180000000000000004454f53000000000772616d20666565"
                                },
                                "elapsed": 16,
                                "cpu_usage": 0,
                                "console": "",
                                "total_cpu_usage": 0,
                                "trx_id": "b3e94392b2f2b3dfca4eab15aa5ccf38036a9ba572703a73868de501f3125bc8",
                                "inline_traces": []
                            }
                        ]
                    }
                ]
            },
            {
                "receipt": {
                    "receiver": "eosio",
                    "act_digest": "62f98fda01fa1b5f60cea712f2e93ff3ccb7757238b34c93c605fe2e45b03f9a",
                    "global_sequence": 31098423,
                    "recv_sequence": 14639652,
                    "auth_sequence": [
                        [
                            "shijiebanggg",
                            73
                        ]
                    ],
                    "code_sequence": 10,
                    "abi_sequence": 11
                },
                "act": {
                    "account": "eosio",
                    "name": "delegatebw",
                    "authorization": [
                        {
                            "actor": "shijiebanggg",
                            "permission": "active"
                        }
                    ],
                    "data": {
                        "from": "shijiebanggg",
                        "receiver": "womenshi1111",
                        "stake_net_quantity": "0.1000 EOS",
                        "stake_cpu_quantity": "0.1000 EOS",
                        "transfer": 0
                    },
                    "hex_data": "c0189be628f75cc3104208aee1a924e5e80300000000000004454f5300000000e80300000000000004454f530000000000"
                },
                "elapsed": 1925,
                "cpu_usage": 0,
                "console": "",
                "total_cpu_usage": 0,
                "trx_id": "b3e94392b2f2b3dfca4eab15aa5ccf38036a9ba572703a73868de501f3125bc8",
                "inline_traces": [
                    {
                        "receipt": {
                            "receiver": "eosio.token",
                            "act_digest": "1f200c6e9fd34233735d47b15b3aa0c77f007cc5a9de15c0d44e7c02985384e2",
                            "global_sequence": 31098424,
                            "recv_sequence": 1618107,
                            "auth_sequence": [
                                [
                                    "shijiebanggg",
                                    74
                                ]
                            ],
                            "code_sequence": 2,
                            "abi_sequence": 2
                        },
                        "act": {
                            "account": "eosio.token",
                            "name": "transfer",
                            "authorization": [
                                {
                                    "actor": "shijiebanggg",
                                    "permission": "active"
                                }
                            ],
                            "data": {
                                "from": "shijiebanggg",
                                "to": "eosio.stake",
                                "quantity": "0.2000 EOS",
                                "memo": "stake bandwidth"
                            },
                            "hex_data": "c0189be628f75cc30014341903ea3055d00700000000000004454f53000000000f7374616b652062616e647769647468"
                        },
                        "elapsed": 534,
                        "cpu_usage": 0,
                        "console": "",
                        "total_cpu_usage": 0,
                        "trx_id": "b3e94392b2f2b3dfca4eab15aa5ccf38036a9ba572703a73868de501f3125bc8",
                        "inline_traces": [
                            {
                                "receipt": {
                                    "receiver": "shijiebanggg",
                                    "act_digest": "1f200c6e9fd34233735d47b15b3aa0c77f007cc5a9de15c0d44e7c02985384e2",
                                    "global_sequence": 31098425,
                                    "recv_sequence": 35,
                                    "auth_sequence": [
                                        [
                                            "shijiebanggg",
                                            75
                                        ]
                                    ],
                                    "code_sequence": 2,
                                    "abi_sequence": 2
                                },
                                "act": {
                                    "account": "eosio.token",
                                    "name": "transfer",
                                    "authorization": [
                                        {
                                            "actor": "shijiebanggg",
                                            "permission": "active"
                                        }
                                    ],
                                    "data": {
                                        "from": "shijiebanggg",
                                        "to": "eosio.stake",
                                        "quantity": "0.2000 EOS",
                                        "memo": "stake bandwidth"
                                    },
                                    "hex_data": "c0189be628f75cc30014341903ea3055d00700000000000004454f53000000000f7374616b652062616e647769647468"
                                },
                                "elapsed": 59,
                                "cpu_usage": 0,
                                "console": "",
                                "total_cpu_usage": 0,
                                "trx_id": "b3e94392b2f2b3dfca4eab15aa5ccf38036a9ba572703a73868de501f3125bc8",
                                "inline_traces": []
                            },
                            {
                                "receipt": {
                                    "receiver": "eosio.stake",
                                    "act_digest": "1f200c6e9fd34233735d47b15b3aa0c77f007cc5a9de15c0d44e7c02985384e2",
                                    "global_sequence": 31098426,
                                    "recv_sequence": 222561,
                                    "auth_sequence": [
                                        [
                                            "shijiebanggg",
                                            76
                                        ]
                                    ],
                                    "code_sequence": 2,
                                    "abi_sequence": 2
                                },
                                "act": {
                                    "account": "eosio.token",
                                    "name": "transfer",
                                    "authorization": [
                                        {
                                            "actor": "shijiebanggg",
                                            "permission": "active"
                                        }
                                    ],
                                    "data": {
                                        "from": "shijiebanggg",
                                        "to": "eosio.stake",
                                        "quantity": "0.2000 EOS",
                                        "memo": "stake bandwidth"
                                    },
                                    "hex_data": "c0189be628f75cc30014341903ea3055d00700000000000004454f53000000000f7374616b652062616e647769647468"
                                },
                                "elapsed": 21,
                                "cpu_usage": 0,
                                "console": "",
                                "total_cpu_usage": 0,
                                "trx_id": "b3e94392b2f2b3dfca4eab15aa5ccf38036a9ba572703a73868de501f3125bc8",
                                "inline_traces": []
                            }
                        ]
                    }
                ]
            }
        ],
        "except": null
    }
}

now we got the transaction at: https://eospark.com/Jungle/tx/b3e94392b2f2b3dfca4eab15aa5ccf38036a9ba572703a73868de501f3125bc8

create-account.png

create-eos-account-with-rpc-api.pdf