post https://api.metakeep.xyz/v2/app/lambda/getSponsor
The API returns the wallet that will pay for the transaction fee
and therent
for the Solana lambda transactions.
{
"status": "SUCCESS",
"wallet": {
"solAddress": "GdouFsvYbSQttyJWSGpc9toBLEJrUTJLj5rb6Q9k5Jee"
}
}
Sponsor can pay for both the
transaction fee
and therent
.Transaction fee payment is enabled by default. The rent payment is currently only enabled for selected partners. Please reach out to us if you need rent payment enabled for your app :)
Sponsor address is valid for
10 minutes
.Once the sponsor address is returned, it should be considered valid only for the
next 10 minutes
. After 30 minutes, please call the API again to get the latest sponsor address.
Error Status
Api Error Status
You can find error status returned by the api here.
Ā© Copyright 2024, Passbird Research Inc.