POST
Build bulk resource delegation transactions
Builds one delegation transaction per entry, collecting per-entry errors rather than aborting the batch on first failure.
Path Params
-
coinstring requiredThe coin ticker symbol (e.g. 'trx', 'ttrx') -
walletIdstring requiredThe wallet ID
Body Params
object
Build Resource Delegations Request Body
Request body for building bulk resource delegation transactions. Each entry delegates a resource (ENERGY or BANDWIDTH) from the wallet's root address to a receiver address.
-
delegationsarray of objects requireddelegations object
-
receiverAddressstring requiredThe address receiving the delegated resource -
amountstring requiredAmount of resource to delegate (in sun for TRX) -
resourcestring requiredResource type to delegate, e.g. 'ENERGY' or 'BANDWIDTH'
-
Responses
200
OK
Response Body
object
-
transactionsarray of objects required -
errorsarray of objects requirederrors object
-
receiverAddressstring required -
messagestring required
-
400
Bad Request
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id