Create an API key
trnch_registerStep 2 of 2: send the message from trnch_register_message and its signature; returns { key, prefix, wallet } with status 201. The key is shown once, store it. The wallet must hold 10 USDG or 0.004 ETH on Robinhood Chain (402 otherwise); 3 keys max per wallet (409); 400 if the signature or message does not match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Optional referral code of the agent's builder: its owner earns a share of the fees of this key's swaps. | |
| label | No | Optional name for the key, e.g. the agent name. | |
| wallet | Yes | Same wallet as in trnch_register_message. | |
| message | Yes | The message returned by trnch_register_message, unchanged. | |
| signature | Yes | personal_sign signature of message by wallet. |