Last updated 25 days ago
account - string
account
MUST be set to the empty string "" to represent the default account. Passing any other string will result in an error.
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \ --header 'Content-Type: application/json' \ --data-raw '{"jsonrpc": "2.0", "method": "getaccountaddress", "params": [null], "id": "getblock.io"}'
{ "result": "null", "id": "getblock.io", "status_code": 405, "message": "Method not allowed" }
Example code for the getaccountaddress {disallowed} json-rpc method. Сomplete guide on how to use getaccountaddress {disallowed} json-rpc in GetBlock.io Web3 documentation.