create_ref_link
[AFFILIATE] Create a product referral link. Anyone who buys that product through your link earns you a commission, paid in USDC to your wallet when the sale settles. Open to any wallet, no approval needed. Returns a short link like https://realrealgenuine.com/r/ab12cd34 and a ref_code. Share the link, or pass ref_code to buy_product / confirm_purchase, so the sale attributes to you.
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": {
"partner_wallet": "<partner_wallet>",
"token_id": "<token_id>"
},
"name": "create_ref_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_id | Yes | Token ID of the product you want to promote | |
| partner_wallet | Yes | Your Base wallet; commission is paid here |