ChainflipBaas.Status.StatusResponse

A swap made through your broker and its current status.

FinanceDeFiCryptocurrencyBrokerageInfrastructureCompany

Properties

Name Type Description
id integer The BaaS swap id, returned as `id` when the swap was started. Use it with `getStatusById`. Not the Chainflip swap id, which is `status.swapId`.
platform string The provider that executes the swap.
status object
View JSON Schema on GitHub

JSON Schema

chainflip-broker-io-chainflip-baas-status-status-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chainflip-broker-io/json-schema/chainflip-broker-io-chainflip-baas-status-status-response-schema.json",
  "title": "ChainflipBaas.Status.StatusResponse",
  "description": "A swap made through your broker and its current status.",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chainflip-broker-io-openapi.json#/components/schemas/ChainflipBaas.Status.StatusResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The BaaS swap id, returned as `id` when the swap was started. Use it with `getStatusById`.\nNot the Chainflip swap id, which is `status.swapId`.",
      "format": "int32"
    },
    "platform": {
      "type": "string",
      "description": "The provider that executes the swap."
    },
    "status": {
      "$ref": "#/$defs/ChainflipBaas.Status.SwapStatus"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "ChainflipBaas.Status.AffiliateBroker": {
      "type": "object",
      "properties": {
        "account": {
          "type": "string",
          "description": "The Chainflip account (SS58) the commission is paid to.",
          "readOnly": true
        },
        "commissionBps": {
          "type": "integer",
          "description": "The commission in basis points of the swap.",
          "format": "int32",
          "readOnly": true
        }
      },
      "additionalProperties": false,
      "description": "An account earning a commission on the swap."
    },
    "ChainflipBaas.Status.Boost": {
      "type": "object",
      "properties": {
        "maximumBoostFeeBps": {
          "type": "integer",
          "description": "The maximum boost fee accepted, in basis points: the `boostFee` the swap was started with.",
          "format": "int32",
          "readOnly": true
        },
        "effectiveBoostFeeBps": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The boost fee actually charged, in basis points; 0 when the deposit could not be boosted.",
          "format": "int32",
          "readOnly": true
        },
        "boostedAt": {
          "type": [
            "integer",
            "null"
          ],
          "description": "When the deposit was boosted, as a Unix time in milliseconds.",
          "format": "int64",
          "readOnly": true
        },
        "boostedAtDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "`boostedAt` as a date.",
          "format": "date-time",
          "readOnly": true
        },
        "boostedBlockIndex": {
          "type": [
            "string",
            "null"
          ],
          "description": "The State Chain block and event the deposit was boosted in.",
          "readOnly": true
        },
        "skippedAt": {
          "type": [
            "integer",
            "null"
          ],
          "description": "When boosting failed (not enough boost liquidity at the fee), as a Unix time in milliseconds. The deposit\nthen waits for all confirmations.",
          "format": "int64",
          "readOnly": true
        },
        "skippedAtDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "`skippedAt` as a date.",
          "format": "date-time",
          "readOnly": true
        },
        "skippedBlockIndex": {
          "type": [
            "string",
            "null"
          ],
          "description": "The State Chain block and event boosting failed in.",
          "readOnly": true
        }
      },
      "additionalProperties": false,
      "description": "Boost: liquidity providers credit a Bitcoin deposit after one confirmation instead of waiting for all of them,\nfor a fee."
    },
    "ChainflipBaas.Status.CcmParameters": {
      "type": "object",
      "properties": {
        "gasBudget": {
          "type": "string",
          "description": "The gas budget for executing the message on the destination chain, as given when the swap was started.",
          "readOnly": true
        },
        "message": {
          "type": "string",
          "description": "The message passed to the receiver, hex-encoded.",
          "readOnly": true
        },
        "cfParameters": {
          "type": [
            "string",
            "null"
          ],
          "description": "Legacy field. Chainflip no longer sends it, so it is absent.",
          "readOnly": true
        }
      },
      "additionalProperties": false,
      "description": "The cross-chain message delivered to the receiver on the destination chain with the output."
    },
    "ChainflipBaas.Status.ChunkInfo": {
      "type": "object",
      "properties": {
        "inputAmountNative": {
          "type": "string",
          "description": "`inputAmount` in the source asset's smallest unit.",
          "readOnly": true
        },
        "inputAmount": {
          "type": "number",
          "description": "The chunk's input, in the source asset.",
          "format": "double",
          "readOnly": true
        },
        "intermediateAmountNative": {
          "type": [
            "string",
            "null"
          ],
          "description": "`intermediateAmount` in USDC's smallest unit.",
          "readOnly": true
        },
        "intermediateAmount": {
          "type": [
            "number",
            "null"
          ],
          "description": "The USDC the chunk passed through, for swaps routed via USDC, once executed.",
          "format": "double",
          "readOnly": true
        },
        "outputAmountNative": {
          "type": [
            "string",
            "null"
          ],
          "description": "`outputAmount` in the destination asset's smallest unit.",
          "readOnly": true
        },
        "outputAmount": {
          "type": [
            "number",
            "null"
          ],
          "description": "The chunk's output, in the destination asset, once executed.",
          "format": "double",
          "readOnly": true
        },
        "scheduledAt": {
          "type": "integer",
          "description": "When the chunk was scheduled, as a Unix time in milliseconds.",
          "format": "int64",
          "readOnly": true
        },
        "scheduledAtDate": {
          "type": "string",
          "description": "`scheduledAt` as a date.",
          "format": "date-time",
          "readOnly": true
        },
        "scheduledBlockIndex": {
          "type": "string",
          "description": "The State Chain block and event the chunk was scheduled in.",
          "readOnly": true
        },
        "executedAt": {
          "type": [
            "integer",
            "null"
          ],
          "description": "When the chunk was executed, as a Unix time in milliseconds.",
          "format": "int64",
          "readOnly": true
        },
        "executedAtDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "`executedAt` as a date.",
          "format": "date-time",
          "readOnly": true
        },
        "executedBlockIndex": {
          "type": [
            "string",
            "null"
          ],
          "description": "The State Chain block and event the chunk was executed in.",
          "readOnly": true
        },
        "retryCount": {
          "type": "integer",
          "description": "How often the chunk was retried, for example because the minimum price was not met.",
          "format": "int32",
          "readOnly": true
        },
        "latestSwapRescheduledAt": {
          "type": [
            "integer",
            "null"
          ],
          "description": "When the chunk was last rescheduled (retried), as a Unix time in milliseconds.",
          "format": "int64",
          "readOnly": true
        },
        "latestSwapRescheduledAtDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "`latestSwapRescheduledAt` as a date.",
          "format": "date-time",
          "readOnly": true
        },
        "latestSwapRescheduledBlockIndex": {
          "type": [
            "string",
            "null"
          ],
          "description": "The State Chain block and event the chunk was last rescheduled in.",
          "readOnly": true
        },
        "latestSwapRescheduledReason": {
          "type": [
            "string",
            "null"
          ],
          "description": "Why the chunk was last rescheduled (retried): a Chainflip reason such as\n`MinPriceViolation`, `PriceImpactLimit`, `OraclePriceSlippageExceeded`,\n`OraclePriceStale`, `PredecessorSwapFailure` or `SafeModeActive`. New values can appear.",
          "readOnly": true
        },
        "abortedAt": {
          "type": [
            "integer",
            "null"
          ],
          "description": "When the chunk was aborted for good, as a Unix time in milliseconds.",
          "format": "int64",
          "readOnly": true
        },
        "abortedAtDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "`abortedAt` as a date.",
          "format": "date-time",
          "readOnly": true
        },
        "abortedBlockIndex": {
          "type": [
            "string",
            "null"
          ],
          "description": "The State Chain block and event the chunk was aborted in.",
          "readOnly": true
        },
        "abortedReason": {
          "type": [
            "string",
            "null"
          ],
          "description": "Why the chunk was aborted for good (the input is then refunded); same reason names as\n`latestSwapRescheduledReason`.",
          "readOnly": true
        }
      },
      "additionalProperties": false,
      "description": "One swap chunk: the whole input of a regular swap, or one part of a DCA swap."
    },
    "ChainflipBaas.Status.Dca": {
      "type": "object",
      "properties": {
        "lastExecutedChunk": {
          "$ref": "#/$defs/ChainflipBaas.Status.ChunkInfo"
        },
        "currentChunk": {
          "$ref": "#/$defs/ChainflipBaas.Status.ChunkInfo"
        },
        "executedChunks": {
          "type": "integer",
          "description": "How many chunks have been executed.",
          "format": "int32",
          "readOnly": true
        },
        "remainingChunks": {
          "type": "integer",
          "description": "How many chunks are still to run.",
          "format": "int32",
          "readOnly": true
        }
      },
      "additionalProperties": false,
      "description": "The progress of a DCA swap, which swaps its input in chunks over time."
    },
    "ChainflipBaas.Status.DcaParameters": {
      "type": "object",
      "properties": {
        "numberOfChunks": {
          "type": "integer",
          "description": "The number of chunks the input is split into.",
          "format": "int32",
          "readOnly": true
        },
        "chunkIntervalBlocks": {
          "type": "integer",
          "description": "The State Chain blocks (6 seconds each) between two chunks.",
          "format": "int32",
          "readOnly": true
        }
      },
      "additionalProperties": false,
      "description": "How a DCA swap is split."
    },
    "ChainflipBaas.Status.Deposit": {
      "type": "object",
      "properties": {
        "amountNative": {
          "type": "string",
          "description": "The deposited amount in the source asset's smallest unit.",
          "readOnly": true
        },
        "amount": {
          "type": "number",
          "description": "The deposited amount.",
          "format": "double",
          "readOnly": true
        },
        "transactionReference": {
          "type": [
            "string",
            "null"
          ],
          "description": "The source-chain transaction of the deposit: the transaction hash, or for Polkadot Assethub Chainflip's\n`block-extrinsicIndex` reference. Use it with `getStatusByTransactionHash`.",
          "readOnly": true
        },
        "transactionConfirmations": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The deposit's confirmations so far, while Chainflip is still waiting for them.",
          "format": "int32",
          "readOnly": true
        },
        "witnessedAt": {
          "type": [
            "integer",
            "null"
          ],
          "description": "When Chainflip witnessed the deposit (or boosted it), as a Unix time in milliseconds.",
          "format": "int64",
          "readOnly": true
        },
        "witnessedAtDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "`witnessedAt` as a date.",
          "format": "date-time",
          "readOnly": true
        },
        "witnessedBlockIndex": {
          "type": [
            "string",
            "null"
          ],
          "description": "The State Chain block and event the deposit was witnessed in.",
          "readOnly": true
        },
        "failure": {
          "$ref": "#/$defs/ChainflipBaas.Status.Failure"
        },
        "failedAt": {
          "type": [
            "integer",
            "null"
          ],
          "description": "When the deposit was rejected or ignored, as a Unix time in milliseconds.",
          "format": "int64",
          "readOnly": true
        },
        "failedAtDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "`failedAt` as a date.",
          "format": "date-time",
          "readOnly": true
        },
        "failedBlockIndex": {
          "type": [
            "string",
            "null"
          ],
          "description": "The State Chain block and event the deposit was rejected or ignored in.",
          "readOnly": true
        }
      },
      "additionalProperties": false,
      "description": "The deposit into the channel (or the vault), in the source asset."
    },
    "ChainflipBaas.Status.DepositChannel": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The channel id, `issuedBlock-network-channelId`. Use it with `getStatusByDepositChannel`.",
          "readOnly": true
        },
        "createdAt": {
          "type": "integer",
          "description": "When the channel was opened, as a Unix time in milliseconds.",
          "format": "int64",
          "readOnly": true
        },
        "createdAtDate": {
          "type": "string",
          "description": "`createdAt` as a date.",
          "format": "date-time",
          "readOnly": true
        },
        "brokerCommissionBps": {
          "type": "integer",
          "description": "The submitting broker's commission in basis points, the first entry of `brokers`. Kept for\ncompatibility; prefer `brokers`.",
          "format": "int32",
          "readOnly": true
        },
        "depositAddress": {
          "type": "string",
          "description": "The address on the source chain to send the source asset to.",
          "readOnly": true
        },
        "sourceChainExpiryBlock": {
          "type": "string",
          "description": "The source-chain block height after which the channel stops accepting deposits.",
          "readOnly": true
        },
        "estimatedExpiryTime": {
          "type": "integer",
          "description": "Chainflip's estimate of when the channel expires, as a Unix time in milliseconds.",
          "format": "int64",
          "readOnly": true
        },
        "estimatedExpiryDate": {
          "type": "string",
          "description": "`estimatedExpiryTime` as a date.",
          "format": "date-time",
          "readOnly": true
        },
        "expectedDepositAmount": {
          "type": [
            "number",
            "null"
          ],
          "description": "The deposit amount announced when the channel was opened, in the source asset. Absent when none was.",
          "format": "double",
          "readOnly": true
        },
        "expectedDepositAmountNative": {
          "type": [
            "string",
            "null"
          ],
          "description": "`expectedDepositAmount` in the source asset's smallest unit.",
          "readOnly": true
        },
        "isExpired": {
          "type": "boolean",
          "description": "Whether the channel has expired. Send nothing to an expired channel.",
          "readOnly": true
        },
        "openedThroughBackend": {
          "type": "boolean",
          "description": "Whether the channel was opened through Chainflip's own swap backend rather than a broker; false for\nchannels opened through BaaS.",
          "readOnly": true
        },
        "affiliateBrokers": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ChainflipBaas.Status.AffiliateBroker"
          },
          "description": "The affiliates earning a commission on the swap, `brokers` without the submitting broker. Kept for\ncompatibility; prefer `brokers`.",
          "readOnly": true
        },
        "fillOrKillParams": {
          "$ref": "#/$defs/ChainflipBaas.Status.FillOrKillParameters"
        },
        "dcaParams": {
          "$ref": "#/$defs/ChainflipBaas.Status.DcaParameters"
        }
      },
      "additionalProperties": false,
      "description": "The deposit channel: the address the source asset is sent to, and until when it accepts deposits."
    },
    "ChainflipBaas.Status.Egress": {
      "type": "object",
      "properties": {
        "amountNative": {
          "type": "string",
          "description": "The amount sent, in the asset's smallest unit.",
          "readOnly": true
        },
        "amount": {
          "type": "number",
          "description": "The amount sent.",
          "format": "double",
          "readOnly": true
        },
        "scheduledAt": {
          "type": [
            "integer",
            "null"
          ],
          "description": "When Chainflip scheduled the transfer, as a Unix time in milliseconds.",
          "format": "int64",
          "readOnly": true
        },
        "scheduledAtDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "`scheduledAt` as a date.",
          "format": "date-time",
          "readOnly": true
        },
        "scheduledBlockIndex": {
          "type": [
            "string",
            "null"
          ],
          "description": "The State Chain block and event the transfer was scheduled in.",
          "readOnly": true
        },
        "transactionReference": {
          "type": [
            "string",
            "null"
          ],
          "description": "The transaction hash of the transfer on its chain, once broadcast.",
          "readOnly": true
        },
        "witnessedAt": {
          "type": [
            "integer",
            "null"
          ],
          "description": "When Chainflip witnessed the transfer on its chain, as a Unix time in milliseconds.",
          "format": "int64",
          "readOnly": true
        },
        "witnessedBlockIndex": {
          "type": [
            "string",
            "null"
          ],
          "description": "The State Chain block and event the transfer was witnessed in.",
          "readOnly": true
        },
        "failure": {
          "$ref": "#/$defs/ChainflipBaas.Status.Failure"
        },
        "failedAt": {
          "type": [
            "integer",
            "null"
          ],
          "description": "When the transfer failed, as a Unix time in milliseconds.",
          "format": "int64",
          "readOnly": true
        },
        "failedAtDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "`failedAt` as a date.",
          "format": "date-time",
          "readOnly": true
        },
        "failedBlockIndex": {
          "type": [
            "string",
            "null"
          ],
          "description": "The State Chain block and event the transfer failed in.",
          "readOnly": true
        },
        "destinationAddress": {
          "type": [
            "string",
            "null"
          ],
          "description": "Only on `fallbackEgress`: the fallback address the funds were sent to.",
          "readOnly": true
        },
        "transactionPayload": {
          "$ref": "#/$defs/ChainflipBaas.Status.TransactionPayload"
        }
      },
      "additionalProperties": false,
      "description": "An outgoing transfer: the output (`swapEgress`), a refund (`refundEgress`) or a transfer to the\nfallback address (`fallbackEgress`). Amounts are in that transfer's asset and after its egress fee."
    },
    "ChainflipBaas.Status.EstimatedDurations": {
      "type": "object",
      "properties": {
        "deposit": {
          "type": [
            "number",
            "null"
          ],
          "description": "Until the deposit is witnessed. Absent when Chainflip has no estimate for the source chain.",
          "format": "double",
          "readOnly": true
        },
        "swap": {
          "type": [
            "number",
            "null"
          ],
          "description": "Until the swap is executed.",
          "format": "double",
          "readOnly": true
        },
        "egress": {
          "type": [
            "number",
            "null"
          ],
          "description": "Until the output transfer is included in a block on the destination chain.",
          "format": "double",
          "readOnly": true
        }
      },
      "additionalProperties": false,
      "description": "Chainflip's estimate of each step's duration, in seconds."
    },
    "ChainflipBaas.Status.Failure": {
      "type": "object",
      "properties": {
        "failedAt": {
          "type": "integer",
          "description": "When it failed, as a Unix time in milliseconds.",
          "format": "int64",
          "readOnly": true
        },
        "failedAtDate": {
          "type": "string",
          "description": "`failedAt` as a date.",
          "format": "date-time",
          "readOnly": true
        },
        "failedBlockIndex": {
          "type": "string",
          "description": "The State Chain block and event it failed in.",
          "readOnly": true
        },
        "mode": {
          "type": "string",
          "description": "What failed, for example `DEPOSIT_REJECTED`, `DEPOSIT_IGNORED`, `SENDING_FAILED` or\n`REFUND_OUTPUT_TOO_SMALL`. New values can appear.",
          "readOnly": true
        },
        "reason": {
          "$ref": "#/$defs/ChainflipBaas.Status.Reason"
        }
      },
      "additionalProperties": false,
      "description": "Why a deposit or transfer failed."
    },
    "ChainflipBaas.Status.FillOrKillParameters": {
      "type": "object",
      "properties": {
        "retryDurationBlocks": {
          "type": "integer",
          "description": "How long, in State Chain blocks (6 seconds each), the swap is retried before the deposit is refunded.",
          "format": "int32",
          "readOnly": true
        },
        "refundAddress": {
          "type": "string",
          "description": "The address on the source chain that refunds are sent to.",
          "readOnly": true
        },
        "minimumPrice": {
          "type": "string",
          "description": "The minimum accepted price: destination asset per unit of the source asset.",
          "readOnly": true
        },
        "maximumOraclePriceSlippage": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Maximum accepted deviation of the execution price from the oracle price, in basis points.\nAbsent when the channel sets no oracle price guard.",
          "format": "int32",
          "readOnly": true
        }
      },
      "additionalProperties": false,
      "description": "The slippage protection: if the swap cannot meet these limits within the retry window, the deposit is\nrefunded."
    },
    "ChainflipBaas.Status.PaidFee": {
      "type": "object",
      "properties": {
        "type": {
          "enum": [
            "network",
            "ingress",
            "egress",
            "broker",
            "boost",
            "liquidity",
            "refund"
          ],
          "type": "string",
          "description": "The fee: `network` (Chainflip's network fee), `ingress` (receiving the deposit on the source\nchain), `egress` (sending on the destination chain), `broker` (the broker and affiliate\ncommissions), `boost`, `refund` (sending a refund) or `liquidity` (liquidity provider fee,\nonly on older swaps).",
          "readOnly": true,
          "x-ms-enum": {
            "name": "FeeType",
            "modelAsString": true
          }
        },
        "asset": {
          "type": "string",
          "description": "The asset the fee was paid in.",
          "readOnly": true
        },
        "amountNative": {
          "type": "string",
          "description": "The fee in the asset's smallest unit.",
          "readOnly": true
        },
        "amount": {
          "type": "number",
          "description": "The fee.",
          "format": "double",
          "readOnly": true
        }
      },
      "additionalProperties": false,
      "description": "A fee paid on the swap."
    },
    "ChainflipBaas.Status.Reason": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "Chainflip's machine-readable failure reason, e.g. `TransactionRejectedByBroker` or\n`swapping.NoRefundAmountRemaining`. New values can appear.",
          "readOnly": true
        },
        "message": {
          "type": "string",
          "description": "A human-readable explanation. Do not branch on it: the text can change; use `code`.",
          "readOnly": true
        }
      },
      "additionalProperties": false,
      "description": "Chainflip's reason for a failure."
    },
    "ChainflipBaas.Status.Swap": {
      "type": "object",
      "properties": {
        "originalInputAmountNative": {
          "type": "string",
          "description": "`originalInputAmount` in the source asset's smallest unit."
        },
        "originalInputAmount": {
          "type": "number",
          "description": "The amount that entered the swap, in the source asset: the deposit minus the ingress and any boost fee.",
          "format": "double"
        },
        "remainingInputAmountNative": {
          "type": "string",
          "description": "`remainingInputAmount` in the source asset's smallest unit."
        },
        "remainingInputAmount": {
          "type": "number",
          "description": "The input not swapped (yet), in the source asset: chunks of a DCA swap still to run, or the part refunded\nwhen the swap was aborted.",
          "format": "double"
        },
        "swappedInputAmountNative": {
          "type": "string",
          "description": "`swappedInputAmount` in the source asset's smallest unit."
        },
        "swappedInputAmount": {
          "type": "number",
          "description": "The input swapped so far, in the source asset.",
          "format": "double"
        },
        "swappedIntermediateAmountNative": {
          "type": "string",
          "description": "`swappedIntermediateAmount` in USDC's smallest unit."
        },
        "swappedIntermediateAmount": {
          "type": "number",
          "description": "The USDC the swap passed through, for swaps routed via USDC (neither asset is USDC); otherwise 0.",
          "format": "double"
        },
        "swappedOutputAmountNative": {
          "type": "string",
          "description": "`swappedOutputAmount` in the destination asset's smallest unit."
        },
        "swappedOutputAmount": {
          "type": "number",
          "description": "The output so far, in the destination asset, before the egress fee.",
          "format": "double"
        },
        "livePriceExecutionDeltaPercentage": {
          "type": [
            "number",
            "null"
          ],
          "description": "Execution price against the live oracle price, in percent. Absent when Chainflip recorded no\noracle delta, e.g. on swaps before October 2025.",
          "format": "double"
        },
        "regular": {
          "$ref": "#/$defs/ChainflipBaas.Status.ChunkInfo"
        },
        "dca": {
          "$ref": "#/$defs/ChainflipBaas.Status.Dca"
        }
      },
      "additionalProperties": false,
      "description": "The swap itself: how much of the input has been swapped and what it returned, before the egress fee."
    },
    "ChainflipBaas.Status.SwapStatus": {
      "type": "object",
      "properties": {
        "state": {
          "enum": [
            "waiting",
            "receiving",
            "swapping",
            "sending",
            "sent",
            "completed",
            "failed"
          ],
          "type": "string",
          "description": "Where the swap is: `waiting` (no deposit yet), `receiving` (deposit seen, waiting for\nconfirmations), `swapping`, `sending` (output scheduled), `sent` (output broadcast, waiting\nto be confirmed), `completed` or `failed`. A swap that was refunded in full or in part also ends\nas `completed`, with a `refundEgress`.",
          "readOnly": true,
          "x-ms-enum": {
            "name": "SwapState",
            "modelAsString": true
          }
        },
        "swapId": {
          "type": "string",
          "description": "The Chainflip swap request id, as shown on Chainflip's explorer. Absent until the deposit has been\nwitnessed. Not the BaaS swap id used by `getStatusById`.",
          "readOnly": true
        },
        "sourceAsset": {
          "type": "string",
          "description": "The asset swapped from.",
          "readOnly": true
        },
        "destinationAsset": {
          "type": "string",
          "description": "The asset swapped to.",
          "readOnly": true
        },
        "destinationAddress": {
          "type": "string",
          "description": "The address on the destination chain that receives the output.",
          "readOnly": true
        },
        "depositChannel": {
          "$ref": "#/$defs/ChainflipBaas.Status.DepositChannel"
        },
        "fillOrKillParams": {
          "$ref": "#/$defs/ChainflipBaas.Status.FillOrKillParameters"
        },
        "brokers": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ChainflipBaas.Status.AffiliateBroker"
          },
          "description": "The accounts earning a commission on the swap, in basis points: first the submitting broker, then the\naffiliates.",
          "readOnly": true
        },
        "dcaParams": {
          "$ref": "#/$defs/ChainflipBaas.Status.DcaParameters"
        },
        "fallbackEgress": {
          "$ref": "#/$defs/ChainflipBaas.Status.Egress"
        },
        "ccmParams": {
          "$ref": "#/$defs/ChainflipBaas.Status.CcmParameters"
        },
        "boost": {
          "$ref": "#/$defs/ChainflipBaas.Status.Boost"
        },
        "estimatedDurationSeconds": {
          "type": [
            "number",
            "null"
          ],
          "description": "Chainflip's estimate of the whole swap's duration, in seconds.",
          "format": "double",
          "readOnly": true
        },
        "estimatedDurationsSeconds": {
          "$ref": "#/$defs/ChainflipBaas.Status.EstimatedDurations"
        },
        "sourceChainRequiredBlockConfirmations": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The source-chain confirmations Chainflip waits for before witnessing a deposit. Absent when Chainflip reports\nnone for the source chain (for example Polkadot Assethub).",
          "format": "int32",
          "readOnly": true
        },
        "fees": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ChainflipBaas.Status.PaidFee"
          },
          "description": "The fees paid so far, one entry per fee type and asset.",
          "r

# --- truncated at 32 KB (34 KB total) ---
# Full source: https://artifacts.apis.io/chainflip-broker-io/json-schema/chainflip-broker-io-chainflip-baas-status-status-response-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/chainflip-broker-io-chainflip-baas-status-status-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.