Transfer a Native Coin
To transfer a native coin, send a POST request to the /wallet/<wallet_name>/coins
, calling the :transfer
method.
Transfer a native coin
POST
https://api.playfix.io/wallet/<wallet_name>/coins:transfer
Path Parameters
wallet_name*
String
Name of the wallet to that contains the coin. This should be the value of name
from a previously created wallet. It begins with "wallets/
" followed by a ULID.
Headers
Authorization*
String
Bearer <your_access_token>
Example cURL API Call
Example Python API Call
Request Body
receiverAddress
- Wallet address of the destination where you want to send the coin. This begins with "0x...
"amount
- Amount of the ERC-20 token you want to transfer. The amount must be expressed in WEI. That is, to send 1 unit of a token, express it as 10¹⁸ (1000000000000000000).password
- The 32-character long wallet password entered when creating the wallet.
Response
Last updated