Create an API key
trnch_registerCompletes TRNCH API key registration by submitting a signed message and wallet; returns the key, prefix, and wallet once. Requires the wallet to hold 10 USDG or 0.004 ETH on Robinhood Chain.
Instructions
Step 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 |
|---|---|---|---|
| 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. |