Delegate resource
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Delegates resources (bandwidth or energy) to another account. The delegator freezes TRX and the delegatee can use the corresponding resources.
Body
Request value.
owner_addressstringrequiredThe delegator address in base58 format.
resourcestringBANDWIDTHENERGYrequiredThe resource type to delegate. BANDWIDTH - for bandwidth resources ENERGY - for energy resources
balanceinteger<int64>requiredThe amount of TRX to freeze and delegate in SUN.
receiver_addressstringrequiredThe delegatee address in base58 format.
lockbooleanWhether to lock the delegation (cannot be undelegated until expiration).
visiblebooleanWhether addresses are in base58 format.
Response
HTTP 200 response for delegateresource. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.