Transfer HBAR
Transfer HBAR
GET https://api.bountyblok.io/v1/airdrop_token_hedera
This endpoint allows you to send HBAR.
Query Parameters
Name
Type
Description
to_address*
string
The wallet address of the recipient.
quantity*
number
The amount of HBAR you want to send.
Headers
Name
Type
Description
Authorization*
string
Bearer <<YOUR_API_KEY>>
{
"tx_id": "0.0.47834406-1673376025-212913600",
"is_valid": true
}{
"is_valid": false,
"message": "Transaction Failed Pre-Check: InsufficientPayerBalance"
}curl --location --request POST 'https://api.bountyblok.io/v1/airdrop_token_hedera' \
--header 'Authorization: Bearer <<API TOKEN>>' \
--header 'Content-Type: application/json' \
--data-raw '{
"to_address":"0.0.47879121",
"quantity":10
}'var client = new RestClient("https://api.bountyblok.io/v1/airdrop_token_hedera");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <<API TOKEN>>");
request.AddHeader("Content-Type", "application/json");
var body = @"{
" + "\n" +
@" ""to_address"":""0.0.47879121"",
" + "\n" +
@" ""quantity"":20
" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);Last updated
Was this helpful?