get_key
Get your Beam pubkey for Idios contracts to share with a counterparty, enabling them to create a contract with you. Read-only and requires no wallet funds.
Instructions
Get your own Beam pubkey for the Idios contract.
This is the value a counterparty uses to name you in a contract: it goes in worker_pubkey when a requester calls create_contract_a or create_contract_b. It is derived from your wallet and the Idios contract, so it stays the same for this wallet on this contract.
Share it with a counterparty so they can create a contract with you. This call is read-only and does not require wallet funds.
Returns your pubkey as a hex string, or an error message.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |