Bequesting a token
Send a token to an account that you have previously generated. This feature allows you to create decentralised experiences with onchain proof where a user requires no prior blockchain experience.
This feature is in beta and there will be unexpected side effects if the body parameters aren't used.
Send/bequest a token to an account
POST
https://hedera-serverless-consensus.vercel.app/api/token/bequest
This endpoint allows you to send a token to user as a permissioned function, provide the encrypted keys and ids of the receiver and token.
Headers
Authentication*
string
The API_SECRET_KEY from th e client's environment variables.
Request Body
encrypted_receiver_key*
String
Encrypted private key of receiver
token_id*
String
ID of token to send
receiver_id*
String
Account id of receiving account
amount*
Number
amount of tokens to send
decimals
Number
Explicitly set decimals of the token
Last updated