latestOpenAPI 3.0.02026-08-10517386.6 KB

a9f1b102faca

Organizations

Get some credits from the friendbot

This endpoint sends 100 credits to the organization account that owns the calling api key. Only on testnet.

get/organizations/{id}/friendbot

Path parameters

idstring required

Headers

x-icr-api-versionstring

API version

Response

serializationstring required

The serialization string representing the credit to be transfered

amountnumber required

The amount of credits sent to your address

transactionIdstring required

The onchain transaction hash

Example response

{
  "serialization": "ICR-ALB-355-77993-2-A-0-2023",
  "amount": 1000,
  "transactionId": "0xcc73d182db1f36dbadf14205de7d543cfd1343396b50d34c768529aaab46a1c0"
}