curl --request POST --url https://relay.mainnet.kuru.io/relay \
--header "Authorization: Bearer $KURU_RELAY_JWT" \
--header 'Content-Type: application/json' \
--data '{"requestId":"018f5ef2-88a1-7b41-a826-4b679010f87f","method":"wallet.cancel_trigger","wallet":"0x1111111111111111111111111111111111111111","payload":{"accountId":"123","authNonce":"1","nonce":"1720000000999","deadline":"1720000030","triggerId":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","signature":"0x..."},"authorization7702":null}'
{
"requestId": "018f5ef2-88a1-7b41-a826-4b679010f87f",
"status": "BROADCAST",
"txHash": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"sponsorAddress": "0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"sponsorNonce": "44",
"transactionType": "DYNAMIC_FEE"
}
REST methods
Cancel conditional order
Cancel an active trigger with a newly signed cancellation intent.
POST
/
relay
curl --request POST --url https://relay.mainnet.kuru.io/relay \
--header "Authorization: Bearer $KURU_RELAY_JWT" \
--header 'Content-Type: application/json' \
--data '{"requestId":"018f5ef2-88a1-7b41-a826-4b679010f87f","method":"wallet.cancel_trigger","wallet":"0x1111111111111111111111111111111111111111","payload":{"accountId":"123","authNonce":"1","nonce":"1720000000999","deadline":"1720000030","triggerId":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","signature":"0x..."},"authorization7702":null}'
{
"requestId": "018f5ef2-88a1-7b41-a826-4b679010f87f",
"status": "BROADCAST",
"txHash": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"sponsorAddress": "0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"sponsorNonce": "44",
"transactionType": "DYNAMIC_FEE"
}
Submits the enabled
Verify a successful receipt and
wallet.cancel_trigger method. Trigger cancellation uses the unordered one-shot trigger nonce namespace, not the increasing immediate-order nonce.
The request is a signing template. Replace the wallet, account ID, nonce, deadline, trigger ID, and signature with values generated for the selected network.
string
required
New lowercase UUIDv7 for correlation.
string
default:"wallet.cancel_trigger"
required
Must be
wallet.cancel_trigger.string
required
Secondary trading EOA that created the trigger and matches the JWT.
object
required
Signed cancellation containing
accountId, authNonce, unused nonce, Unix-second deadline, 32-byte triggerId, and signature.object | null
Normally
null after onboarding.curl --request POST --url https://relay.mainnet.kuru.io/relay \
--header "Authorization: Bearer $KURU_RELAY_JWT" \
--header 'Content-Type: application/json' \
--data '{"requestId":"018f5ef2-88a1-7b41-a826-4b679010f87f","method":"wallet.cancel_trigger","wallet":"0x1111111111111111111111111111111111111111","payload":{"accountId":"123","authNonce":"1","nonce":"1720000000999","deadline":"1720000030","triggerId":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","signature":"0x..."},"authorization7702":null}'
{
"requestId": "018f5ef2-88a1-7b41-a826-4b679010f87f",
"status": "BROADCAST",
"txHash": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"sponsorAddress": "0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"sponsorNonce": "44",
"transactionType": "DYNAMIC_FEE"
}
TriggerCanceled before treating the trigger as canceled.