Submit the signed swap record (step 2 of 2)
submit_net_swap_recordComplete the record: pass the BODY_JSON from prepare_net_swap_record UNCHANGED and the signature your wallet produced over MESSAGE_TO_SIGN. Relays to the same public door any HTTP client uses (POST /labor/net/swap-records); this server holds no keys and no funds, and the door checks the signature itself. Free with a valid body-bound signature from the wallet that sent the swap. A record moves no token and holds none, and it reads unverified. Cost and signer: free, no gas; signed by the person's own wallet or passkey, and the house never holds a key.
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": {
"bodyJson": "<bodyJson>",
"signature": "<signature>"
},
"name": "submit_net_swap_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bodyJson | Yes | The exact BODY_JSON string from prepare_net_swap_record, unchanged. | |
| signature | Yes | The 0x… personal_sign output over MESSAGE_TO_SIGN. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| tool | No | ||
| funded | No | ||
| payUsd | No | ||
| workId | No | ||
| claimId | No | ||
| claimable | No | ||
| next_call | No | ||
| proofRule | No | ||
| fulfillableBy | No | ||
| definitionOfDone | No | ||
| needs_from_caller | No | ||
| notClaimableReason | No |