Create an API key
trnch_registerStep 2 of 2: send the message returned in step 1 and its signature; returns { key, prefix, wallet } with status 201. The key is shown once, store it. The wallet must hold 10 USDC or 0.15 HYPE on Elysium (402 otherwise); 3 keys max per wallet (409); 400 if the signature or message does not match.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wallet": "<wallet>",
"message": "<message>",
"signature": "<signature>"
},
"name": "trnch_register"
}
}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 in step 1, unchanged. | |
| signature | Yes | personal_sign signature of message by wallet. |