Send Cryptocurrency To Wallet
This API is to send cryptocurrency to wallet
GRAPHQL
Headers
| Fields | Type | Description | Example | Data Management |
|---|---|---|---|---|
| URL | string | {base_url}/users | ||
| GRAPHQL | string | MUTATION | ||
| content-type | string | JSON | application/json |
Request
mutation {
send_crypto_to_wallet(wallet_address: "9b3RBztwiSM4DFvoHtr6nENRZxfQkmJcfxY4VSWVSBrH", amount: 0.001, network: "solana") {
message
}
}
Request Parameters
| Fields | Type | Description | Required |
|---|---|---|---|
| wallet_address | string | recipient's wallet address | ✔ |
| network | string | the network identifier from wallets' list of profile API | ✔ |
| amount | float | amount wants to send | ✔ |
Success
{
"data": {
"send_crypto_to_wallet": {
"message": "Transaction was successfull"
}
}
}
Error
{
"errors": [
{
"message": "Unauthorized",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": ["send_crypto_to_wallet"]
}
],
"data": {
"send_crypto_to_wallet": null
}
}