record_execution_completion
Record a supported terminal venue result observed by the submitting client.
| Field | Meaning |
|---|---|
| Side effects | Annotates an existing signed receipt for dashboard display. It does not prove, sign, submit, change replay eligibility, or independently reconcile venue state. |
| Next step | Read the completed receipt in the dashboard. Do not use this call as independent proof of settlement. |
Arguments
| Argument | Type | Required |
|---|---|---|
completion | object | yes |
pakt_root | string | yes |
receipt_id | string | yes |
Exact bounds, accepted values, and nested fields are in Full JSON Schema below.
Example
signed is the exact signed result, and observedCompletion is a supported terminal result verified by the submitting client—not an estimate or a pending order. Use service_reported for direct Tempo (tempo-…) receipts; Permit2 approval (service-approval-…) receipts are verification-only.
With an authenticated MCP client:
await client.callTool({
name: "record_execution_completion",
arguments: {
pakt_root: selectedPakt.pakt_root,
receipt_id: signed.receipt_id,
completion: observedCompletion
},
});Returns
Important fields in the decoded result; this is not a complete response schema.
| Field | Meaning |
|---|---|
status | COMPLETED for terminal trade results; CLIENT_REPORTED_UNVERIFIED for service reports. Neither is independent proof. |
receipt_id / venue / venue_reference | The receipt and client-reported terminal venue reference. |
effects.completion_recorded | true; no new signature or submission is produced. |
For error handling and retry rules, see Statuses and Errors.
Record a client-observed result for an exact receipt. Hyperliquid supports a fill, definite no-fill, confirmed cancellation, or deadline-passed result whose earlier venue outcome remains unreconciled. Ethereum supports exact-transaction confirmed success or revert, or a finalized nonce beyond the durable submission's nonce; the same kinds complete payments transfers (payment-… receipts) and vault moves (yield-… receipts). tx_hash is the submission's hash: transaction_hash for a signed transaction, user_op_hash for a yield step's user operation (success or revert as its UserOperationEvent reports). For a yield step, finalized_nonce is the yield account's EntryPoint sequence (getNonce key 0) and must be greater than the submission's entry_point_nonce. Pakt checks the stored Hyperliquid deadline, exact EVM transaction or user operation hash, or exact nonce as applicable. Services accept only service_reported with a provider reference; for a signed service payment the reference must be the merchant's settlement transaction hash (0x + 64 hex, from the x402 PAYMENT-RESPONSE or MPP Payment-Receipt). The response is CLIENT_REPORTED_UNVERIFIED with settlement_authenticated=false. A service report only annotates the execution reference; it never authenticates settlement, authorizes, signs, submits, or changes replay eligibility. Account identity is server-derived.
From tools/list, MCP protocol revision 2026-07-28.
{
"additionalProperties": false,
"properties": {
"completion": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"kind": {
"const": "hyperliquid_filled"
},
"oid": {
"maximum": 18446744073709551615,
"minimum": 1,
"type": "integer"
}
},
"required": [
"kind",
"oid"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"kind": {
"const": "hyperliquid_no_fill"
}
},
"required": [
"kind"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"kind": {
"const": "hyperliquid_cancelled"
},
"oid": {
"maximum": 18446744073709551615,
"minimum": 1,
"type": "integer"
}
},
"required": [
"kind",
"oid"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"kind": {
"const": "hyperliquid_expired_unreconciled"
}
},
"required": [
"kind"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"kind": {
"const": "ethereum_transaction_confirmed_success"
},
"tx_hash": {
"maxLength": 66,
"minLength": 66,
"pattern": "^0x[0-9a-f]{64}$",
"type": "string"
}
},
"required": [
"kind",
"tx_hash"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"kind": {
"const": "ethereum_transaction_confirmed_revert"
},
"tx_hash": {
"maxLength": 66,
"minLength": 66,
"pattern": "^0x[0-9a-f]{64}$",
"type": "string"
}
},
"required": [
"kind",
"tx_hash"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"finalized_nonce": {
"maximum": 18446744073709551615,
"minimum": 1,
"type": "integer"
},
"kind": {
"const": "ethereum_transaction_nonce_superseded"
}
},
"required": [
"kind",
"finalized_nonce"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"kind": {
"const": "service_reported"
},
"reference": {
"type": "string"
}
},
"required": [
"kind",
"reference"
],
"type": "object"
}
]
},
"pakt_root": {
"maxLength": 64,
"minLength": 64,
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"receipt_id": {
"maxLength": 81,
"minLength": 67,
"pattern": "^(?:hl-|gateway-approval-|gateway-order-|service-|payment-|yield-|tempo-)[0-9a-f]{64}$",
"type": "string"
}
},
"required": [
"pakt_root",
"receipt_id",
"completion"
],
"type": "object"
}