Get a key
taifoon_registerCreates a tenant with a free key (tfr_free_…, shown once), or a free RPC key with its gateway URL and allowance. For reading an existing account use taifoon_account. Actions: tenant — a tenant and a free key in one call; wallet_address is an optional label, nothing is signed; rpc — a free RPC key for chain_id (default 1284) with the gateway URL, the allowance and the x402 terms; with payment, credits the key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | No | a settled subscribe payment whose credit was not written (actions: rpc) | |
| usdc | No | usdc (actions: rpc) | |
| action | No | what to do (default tenant): tenant | rpc | tenant |
| api_key | No | api key (actions: rpc) | |
| payment | No | the x402 PAYMENT-SIGNATURE header value (base64) for the accepts a previous call returned (actions: rpc) | |
| agent_id | No | optional ERC-8004 id "<chain>:<id>" (a label on your tenant) (actions: tenant) | |
| chain_id | No | the chain you want to read (default 1284 Moonbeam); the answer names its gateway URL (actions: rpc) | |
| pay_chain_id | No | the pay chain of the transfer quote; absent = Base (actions: rpc) | |
| wallet_address | No | optional: a 0x wallet address to label your tenant with (nothing is signed; leave it out) (actions: tenant) |