Build AccountLocker manifests
build_locker_manifestThe right way to airdrop on Radix. Operations: "create" (new AccountLocker; its badge, owner + storer + recoverer, goes to the account; allowRecover decides whether unclaimed tokens can come back; with recipients it also sends the first batch in the same transaction, one signature, and the rest is an "airdrop" on the new locker once it exists), "airdrop" (recipients CSV, one transaction per resource per 40 recipients; with tryDirectSend accounts that accept deposits get the tokens at once and only refusals stay claimable), "recover" (badge holder takes back what is stored for a claimant), "recoverAll" (badge holder takes back everything still unclaimed by any recipient, in as few transactions as the event limit allows), "claim" (the claimant takes everything waiting for them; only that account can). Badges are resolved from the account. Share the claim page (/{locale}/console/locker-claim?locker=…) with the recipients.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | recover only: fungible amount | |
| locale | Yes | Language of the console links: "en" or "es" | en |
| locker | No | Locker address (every operation except create) | |
| nftIds | No | recover only: NFT ids | |
| account | Yes | Signing account: the badge holder, or the claimant for "claim" | |
| lockers | No | claim only: several lockers, everything waiting in all of them claimed in one transaction (instead of "locker") | |
| network | Yes | Radix network: "mainnet" (production) or "stokenet" (testnet) | mainnet |
| claimant | No | recover only: the account the tokens were stored for | |
| resource | No | recover only: resource to take back | |
| operation | Yes | ||
| recipients | No | airdrop, or create to send the first batch with the creation: the recipients CSV | |
| allowRecover | Yes | create only | |
| tryDirectSend | Yes | airdrop / create with recipients: deliver directly when the account accepts | |
| defaultResource | No | airdrop / create with recipients: resource for two-column lines |