[NUM] Transfer NUM from Custodial Wallet
API Endpoint: https://eolrf4c33knzg2p.m.pipedream.net
Cost: Cost: 0.01 NUM + Gas (~0.004 NUM per transaction)
Method: POST
Description:
Transfer the NUM with an amount specified to the input wallet.
Authentication:
This API requires a valid token for Authorization. The token should be passed in the headers of the request using the following format: "Authorization: token YOUR_CAPTURE_TOKEN"
Header:
Authorization: token $YOUR_CAPTURE_TOKEN (required)
Content-Type: application/json
Request Body (required):
wallet (string): Receiver wallet address
amount (float): The amount to be transferred. This should be smaller than the balance of the wallet deducting gas fee.
Example 1 (direct file upload):
curl -X POST "https://eolrf4c33knzg2p.m.pipedream.net" \
-H "Content-Type: application/json" \
-H "Authorization: token YOUR_CAPTURE_TOKEN" \
-d '{
"wallet": "0xEabA2251249C1F62b13aC118Ac463E6873a52B71",
"amount": 0.1
}'
Response:
{
"payeeAddress": string // Receiver address
"amount": float // Amount transferred
"orderID": string // ID of this order
}
200: NUM transferred successfully
400: Bad request
401: Unauthorized
403: Forbidden
500: Internal Server Error
Last updated