TRX
POST
GET
Last updated on January 1, 1970
1 min read
Method /wallet/getdelegatedresource undefined ()
connect with REST protocol
/wallet/getdelegatedresource
Method not allowed
Returns all resources delegations from an account to another account.The fromAddress can be retrieved from theGetDelegatedResourceAccountIndex API.
Parameters
fromAddress
- string, required
Energy from address, default hexString
toAddress
- string, required
Energy delegation information
visible
- boolean
Optional. Defaults to false. Whether addresses are in base58check format.
Request
curl --location --request POST 'https://trx.getblock.io/wallet/getdelegatedresource' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"fromAddress": "4189139CB1387AF85E3D24E212A008AC974967E561", "toAddress": "41af80f3c6d502b0f53e5fdd2d09d52051a3ba7054"}'
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" }