> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kuru.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Create packed replacement trigger

> Register a conditional compact maker-slot replacement.

Submits `wallet.create_replace_trigger`, which stores compact packed slot operations behind a committed trigger condition.

<Warning>Conditional-order submission is not a supported live Relay flow. This versioned method is documented for reference; do not use the playground to assume it is available on either network.</Warning>

<ParamField body="requestId" type="string" required>New lowercase UUIDv7 for correlation.</ParamField>
<ParamField body="method" type="string" required default="wallet.create_replace_trigger">Must be `wallet.create_replace_trigger`.</ParamField>
<ParamField body="wallet" type="string" required>Secondary trading EOA matching the bearer JWT.</ParamField>

<ParamField body="payload" type="object" required>
  Signed `CreateReplaceTriggerIntent` with `header`, `triggerExpiry`, `conditionSchema`, `condition`, `conditionHash`, `packedOps`, `expectedOrderIds`, and `signature`.
</ParamField>

<ParamField body="authorization7702" type="object | null">Normally `null` after onboarding.</ParamField>

`packedOps` contains one to 256 canonical 32-byte words. `expectedOrderIds` must contain one binding per word. Condition validation is identical to `wallet.create_batch_trigger`.

<RequestExample>
  ```curl cURL theme={null}
  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-4b679010f880","method":"wallet.create_replace_trigger","wallet":"0x1111111111111111111111111111111111111111","payload":{"header":{"accountId":"123","market":"0x8121ee960066e4344a213f9ac7502395502aee7a","authNonce":"1","nonce":"1720000000998","deadline":"1720000030","clientOrderId":"0x0000000000000000000000000000000000000000000000000000000000000004","builder":"0x0000000000000000000000000000000000000000","builderFeePps":"0"},"triggerExpiry":"1720003600","conditionSchema":"1","condition":"0x00000001...","conditionHash":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","packedOps":"0x<one-or-more-32-byte-words>","expectedOrderIds":["31"],"signature":"0x..."},"authorization7702":null}'
  ```
</RequestExample>

The example shows the complete shape but is not executable until condition data, hashes, nonces, deadlines, and signatures are generated from current state.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.