Sends tokens minted from a given KIP-37 contract. You can select the number and the amount of tokens to send.
The account that sends the transaction.
You can omit the KRN if the sender
address is managed by KIP-37 or Wallet Service account-pool
.
Otherwise you have to provide the KRN object in the header (x-krn: krn:{chain-id}:wallet:{account-id}:account-pool:{pool name}
).
It is possible to send different tokens in different amounts. Different functions will be called according to the number of Batch Items (ids
, amounts
) in the request.
safeTransferFrom
functionsafeBatchTransferFrom
functionYour request was successful.
The request is not valid.
The resource you requested does not exist.
{- "sender": "0x9eaf20b40e0f1ced5dbba6f5cfb0d3e12b0534f4",
- "owner": "0x9eaf20b40e0f1ced5dbba6f5cfb0d3e12b0534f4",
- "to": "0xDc277E2D89b92336A4ee80be3c7142443FDaDE47",
- "ids": [
- "0x1",
- "0x2"
], - "amounts": [
- "0x100",
- "0x200"
]
}
Your request was successful.
{- "status": "Submitted",
- "transactionHash": "0xb5a0618be3508b3fe22e35aa96063005dd4c557cf040348cc542b0726cc30f7b"
}