TRX
POST
GET
Last updated on January 1, 1970
1 min read
Method /wallet/createaccount undefined ()
connect with REST protocol
/wallet/createaccount
Method not allowed
Create an account. Uses an already activated account to create a newaccount
Parameters
owner_address
-
string
Owner_address is an activated account, converted to a hex String.If the owner_address has enough bandwidth obtained by freezing TRX, then creating an account will only consume bandwidth , otherwise, 0.1 TRX will be burned to pay for bandwidth, and at the same time, 1 TRX will be required to be created.
account_address
-
string
account_address is the address of the new account, converted to a hex string, this address needs to be calculated in advance
visible
-
boolean
Optional,whether the address is in base58 format
permission_id
-
int32
Optional,for multi-signature use
Request
curl --location --request POST 'https://trx.getblock.io/wallet/createaccount' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"owner_address": "123QWE345F456VEBTRB567XCVE", "account_address": "SDF3BBT46YN56JS554H7J34B", "visible": "true"}'
Response
{
"result": "null",
"id": "getblock.io",
"status_code": 405,
"message": "Method not allowed"
}
Start Building with GetBlock RPCs for Free
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }