get_or_create_referral
Start or complete affiliate referral enrollment by signing an EVM challenge, then receive a one-time management token to protect payout wallets and private balances without moving funds.
Instructions
Begin or finish secure shared affiliate enrollment. First call returns a message the EVM identity wallet must sign; resubmit its challenge_id and signature. The returned one-time management token protects EVM, Solana, and Cardano payout wallets and private balances. No funds move.
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_or_create_referral"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | ||
| signature | No | ||
| evm_wallet | No | ||
| challenge_id | No | ||
| primary_chain | No | evm | |
| solana_wallet | No | ||
| cardano_wallet | No | ||
| wallet_address | No | ||
| connected_wallet | No | ||
| management_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||