## Documentation Index Fetch the complete documentation index at: https://docs.relay.link/llms.txt Use this file to discover all available pages before exploring further.
## Agent Instructions To quote bridges and swaps, look up chains and tokens, or track Relay transactions from an agent, use the Relay MCP server: npx -y @relayprotocol/relay-mcp. It is read-only and does not sign or broadcast transactions. Setup: https://docs.relay.link/resources/developing-with-ai.md For Relay Protocol's trust model, security architecture, and audits, see https://docs.relay.link/references/protocol/security.md. For address screening, see https://docs.relay.link/security/transaction-screening.md.Get Requests
This API returns all the cross-chain transactions.
OpenAPI
openapi: 3.0.3
info:
title: Cross-chain solver
version: 1.0.0
servers:
- url: https://api.relay.link
description: Mainnet API
- url: https://api.testnets.relay.link
description: Testnet API
security: []
paths:
/requests/v3:
get:
parameters:
- schema:
type: number
default: 20
maximum: 100
minimum: 1
in: query
name: limit
required: false
description: Maximum number of requests to return per page.
- schema:
type: string
in: query
name: continuation
required: false
description: >-
Pagination cursor returned by a previous response. Pass it back to
fetch the next page.
- schema:
type: boolean
default: false
in: query
name: includeTotal
required: false
description: >-
When true, also compute and return the total count of requests
matching these filters (ignores limit/continuation). Adds latency —
omit unless the total is needed.
- schema:
type: string
in: query
name: user
required: false
description: >-
Filter requests by wallet address — matches requests where this
address is the sender or the deposit-address depositor.
- schema:
type: string
in: query
name: term
required: false
description: >-
Broad term search across request ID, wallet, deposit address, and
all transaction hashes (deposit, fill, refund, failed, and chain
entry transaction IDs). Use `id`, `depositTxHash`, `fillTxHash`, or
`refundTxHash` for targeted single-field lookups.
- schema:
type: string
in: query
name: id
required: false
description: >-
Filter by requestId — the Relay-level intent identifier returned by
the quote API.
- schema:
type: string
in: query
name: orderId
required: false
description: Filter by protocol-level orderId.
- schema:
type: string
in: query
name: depositTxHash
required: false
description: Filter by deposit transaction hash.
- schema:
type: string
in: query
name: fillTxHash
required: false
description: Filter by fill transaction hash.
- schema:
type: string
in: query
name: refundTxHash
required: false
description: Filter by refund transaction hash.
- schema:
type: number
in: query
name: originChainId
required: false
description: Filter requests where this is the origin chain.
- schema:
type: number
in: query
name: destinationChainId
required: false
description: >-
Filter requests where this is the destination chain. Requests are
limited to the caller’s integrator and requests without an API key.
- schema:
type: number
in: query
name: chainId
required: false
description: >-
Get all requests for a single chain in either direction. Overridden
by originChainId / destinationChainId. Requests are limited to the
caller’s integrator and requests without an API key.
- schema:
type: string
in: query
name: privateChainsToInclude
required: false
description: Comma-separated list of private chain UUIDs to include in results.
- schema:
type: string
in: query
name: depositAddress
required: false
description: Filter requests associated with this deposit address.
- schema:
type: string
in: query
name: recipient
required: false
description: Filter requests where this address is the recipient.
- schema:
type: string
enum:
- success
- failure
- refund
- pending
- depositing
in: query
name: status
required: false
description: Filter requests by status.
- schema:
type: string
enum:
- UNKNOWN
- SLIPPAGE
- AMOUNT_TOO_LOW_TO_REFUND
- DEPOSIT_ADDRESS_MISMATCH
- DEPOSIT_CHAIN_MISMATCH
- INCORRECT_DEPOSIT_CURRENCY
- DOUBLE_SPEND
- SOLVER_CAPACITY_EXCEEDED
- SOLVER_BALANCE_TOO_LOW
- DEPOSITED_AMOUNT_TOO_LOW_TO_FILL
- NEGATIVE_NEW_AMOUNT_AFTER_FEES
- NO_QUOTES
- MISSING_REVERT_DATA
- REVERSE_SWAP_FAILED
- GENERATE_SWAP_FAILED
- TOO_LITTLE_RECEIVED
- EXECUTION_REVERTED
- NEW_CALLDATA_INCLUDES_HIGHER_RENT_FEE
- TRANSACTION_REVERTED
- TRANSACTION_TOO_LARGE
- ORIGIN_CURRENCY_MISMATCH
- NO_INTERNAL_SWAP_ROUTES_FOUND
- SWAP_USES_TOO_MUCH_GAS
- INSUFFICIENT_FUNDS_FOR_RENT
- SPONSOR_BALANCE_TOO_LOW
- ORDER_EXPIRED
- ORDER_IS_CANCELLED
- TRANSFER_FROM_FAILED
- TRANSFER_FAILED
- SIGNATURE_EXPIRED
- INVALID_SIGNATURE
- INSUFFICIENT_NATIVE_TOKENS_SUPPLIED
- TRANSFER_AMOUNT_EXCEEDS_ALLOWANCE
- TRANSFER_AMOUNT_EXCEEDS_BALANCE
- INVALID_SENDER
- ACCOUNT_ABSTRACTION_INVALID_NONCE
- ACCOUNT_ABSTRACTION_SIGNATURE_ERROR
- SEAPORT_INEXACT_FRACTION
- TOKEN_NOT_TRANSFERABLE
- ZERO_SELL_AMOUNT
- MINT_NOT_ACTIVE
- ERC_1155_TOO_MANY_REQUESTED
- INCORRECT_PAYMENT
- INVALID_GAS_PRICE
- FLUID_DEX_ERROR
- ORDER_ALREADY_FILLED
- SEAPORT_INVALID_FULFILLER
- INVALID_SIGNER
- MINT_QUANTITY_EXCEEDS_MAX_PER_WALLET
- MINT_QUANTITY_EXCEEDS_MAX_SUPPLY
- JUPITER_INVALID_TOKEN_ACCOUNT
- INVALID_NONCE
- ACCOUNT_ABSTRACTION_GAS_LIMIT
- CONTRACT_PAUSED
- SWAP_IMPACT_TOO_HIGH
- INSUFFICIENT_POOL_LIQUIDITY
- POOL_CAP_EXCEEDED
- TTL_EXPIRED
- DEPOSIT_CONFIRMATION_TIMEOUT
- ORPHANED_DEPOSIT_REFUND
- GASLESS_PERMIT_BALANCE_TOO_LOW
- MANUAL_ADMIN_REFUND
- QUOTED_GAS_LIMIT_EXCEEDED
- DESTINATION_TOKEN_TRANSFER_REJECTED
- DEPOSIT_REORGED
- BLOCKED_WALLET
- PROTOCOL_DEADLINE_EXPIRED
- TRANSACTION_NOT_INCLUDED
- TRANSACTION_SUBMISSION_FAILED
- N/A
in: query
name: failReason
required: false
description: >-
Filter requests by failure reason. Only returns requests that failed
with this specific reason.
- schema:
type: string
enum:
- AMOUNT_TOO_LOW_TO_REFUND
- NEGATIVE_NEW_AMOUNT_AFTER_FEES
- SWAP_CURRENCY_NOT_ON_ORIGIN
- REFUND_RECIPIENT_IS_VASP
- REFUND_RECIPIENT_IS_BLOCKED
- MANUAL_REFUND_REQUIRED
in: query
name: refundFailReason
required: false
description: Filter requests by refund failure reason.
- schema:
type: string
in: query
name: apiKey
required: false
description: >-
Filter requests by API key. Accepts a single value or a
comma-separated list (OR matching). Maximum 50 values across apiKey
and apiKeyId.
- schema:
type: string
in: query
name: appId
required: false
description: >-
Filter by App IDs (app_id_<uuid>, comma-separated, maximum 50) owned
by your integrator. Matches indexed App attribution across current
and revoked keys.
- schema:
type: string
in: query
name: apiKeyId
required: false
description: >-
Filter by API key IDs (lowercase key_id_<uuid>, comma-separated),
owned by your integrator. OR matching with apiKey; maximum 50 values
combined.
- schema:
type: string
in: query
name: requestType
required: false
description: >-
Filter requests by requestType (case-insensitive). Supported values:
Bridge, Crosschain Swap, Same-chain Swap, Send, Wrap, Unwrap, Call.
- schema:
type: string
minLength: 1
in: query
name: referrer
required: false
description: >-
Filter requests by the exact `referrer` value supplied at quote
time. Without `apiKeyId` or `apiKey`, returns only matching public
keyless requests. Every supplied key must belong to the
authenticating integrator. Includes matching requests for the
selected keys and public requests with neither a recorded API key
nor a legacy fill API key, regardless of age. Existing visibility
restrictions still apply; public requests are not assigned to your
integrator.
- schema:
type: number
in: query
name: currencyInChainId
required: false
description: Filter by origin currency chain ID.
- schema:
type: number
in: query
name: currencyOutChainId
required: false
description: >-
Filter by destination currency chain ID. Requests are limited to the
caller’s integrator and requests without an API key.
- schema:
type: string
in: query
name: currencyInAddress
required: false
description: Filter by origin currency contract address.
- schema:
type: string
in: query
name: currencyOutAddress
required: false
description: >-
Filter by destination currency contract address. Requests are
limited to the caller’s integrator and requests without an API key.
- schema:
type: string
in: query
name: currencyInSymbol
required: false
description: >-
Filter by origin currency symbol (e.g. USDC). Case-insensitive;
matches across all chains.
- schema:
type: string
in: query
name: currencyOutSymbol
required: false
description: >-
Filter by destination currency symbol (e.g. USDC). Case-insensitive;
matches across all chains. Requests are limited to the caller’s
integrator and requests without an API key.
- schema:
type: string
enum:
- createdAt
- updatedAt
- amountUsd
default: createdAt
in: query
name: sortBy
required: false
description: Field to sort by.
- schema:
type: string
enum:
- asc
- desc
in: query
name: sortDirection
required: false
description: 'Sort direction (default: desc for time fields, asc for amountUsd).'
- schema:
type: number
in: query
name: startTimestamp
required: false
description: >-
Filter requests with createdAt ≥ this Unix timestamp (seconds).
Applied to updatedAt instead when sortBy=updatedAt.
- schema:
type: number
in: query
name: endTimestamp
required: false
description: >-
Filter requests with createdAt ≤ this Unix timestamp (seconds).
Applied to updatedAt instead when sortBy=updatedAt.
- schema:
type: number
in: query
name: startBlock
required: false
description: >-
Filter by chain entry block number (inclusive lower bound). When
originChainId is also set, scoped to origin-chain entries only.
- schema:
type: number
in: query
name: endBlock
required: false
description: >-
Filter by chain entry block number (inclusive upper bound). When
originChainId is also set, scoped to origin-chain entries only.
- schema:
type: number
in: query
name: amountUsdMin
required: false
description: Filter requests with currencyIn.amountUsd ≥ this value.
- schema:
type: number
in: query
name: amountUsdMax
required: false
description: Filter requests with currencyIn.amountUsd ≤ this value.
- schema:
type: number
in: query
name: appFeesAmountUsdMin
required: false
description: Filter requests with total app fees USD ≥ this value.
- schema:
type: number
in: query
name: appFeesAmountUsdMax
required: false
description: Filter requests with total app fees USD ≤ this value.
- schema:
type: number
in: query
name: fillTimeMin
required: false
description: Filter requests with fill time ≥ this value (seconds).
- schema:
type: number
in: query
name: fillTimeMax
required: false
description: Filter requests with fill time ≤ this value (seconds).
- schema:
type: string
in: query
name: features
required: false
description: >-
Comma-separated feature flags to filter by. Requests must have at
least one of the specified features. Supported values:
gasless_execution, gasless_swap, fast_fill, gas_top_up, fixed_rate,
app_fees, deposit_address, fee_sponsorship.
- schema:
type: boolean
in: query
name: includePendingRequests
required: false
description: >-
When true, include pending requests permitted by your access scope
and pending transactions for your own requests. Defaults to false.
Does not enable authenticated fields or change access permissions;
terminal requests remain eligible without this flag.
- schema:
type: boolean
in: query
name: includeAuthenticatedData
required: false
description: >-
When true, include fields available only to the authenticating
integrator for their own requests.
- schema:
type: boolean
in: query
name: includeChildRequests
required: false
description: >-
Only effective when `id` is also provided. When true, returns the
parent request AND any child requests. When false or omitted, only
the exact `request_id` match is returned.
- schema:
type: string
in: query
name: filters
required: false
description: >-
JSON-encoded array of filter-group objects. Fields within each group
are AND'd; groups are OR'd. Prefix a key with 'not:' to negate it
(must_not). Values can be a scalar or an array (OR semantics within
the field). Example:
[{"depositAddress":"0xabc","originChainId":8453},{"depositAddress":"0x123","originChainId":1}].
Negation example: [{"not:status":"failure"}]. Array value example:
[{"not:status":["failure","refund"]}]. A value of null is a
null-check ("is empty"/"is not empty") instead of an equality test,
for any key. Null-check example: [{"depositAddress":null}] (is empty
/ does not exist), [{"not:depositAddress":null}] (is not empty /
exists). null cannot be combined with real values in an array. At
most 50 distinct string values across id, term, and grouped id/term
filters (including negations) are allowed; a top-level id with
includeChildRequests is excluded from this limit. Requests are
limited to the caller’s integrator and requests without an API key.
A `referrer` key (or `not:referrer`) without top-level `apiKeyId` or
`apiKey` limits that group to public keyless requests. Optional key
parameters must contain keys owned by the authenticating integrator.
Referrer groups also include matching public keyless requests
regardless of age; groups without a referrer retain their existing
scope unless a top-level referrer is supplied.
- schema:
type: string
in: header
name: x-api-key
required: true
description: API key for authentication.
responses:
'200':
description: Default Response
content:
application/json:
schema:
type: object
properties:
requests:
type: array
items:
type: object
properties:
id:
type: string
status:
type: string
enum:
- refund
- waiting
- depositing
- failure
- pending
- submitted
- success
user:
type: string
recipient:
type: string
sender:
type: string
nullable: true
refundTo:
type: string
nullable: true
description: >-
The address refunds are sent to for deposit-address
transactions. Null when not specified.
supersededByRequestId:
type: string
nullable: true
description: >-
Regenerated requestId that now owns the sweep/fill
for a superseded deposit-address request. Currently
only set for Bitcoin (BVM) deposit-address requests.
duplicateDeposits:
type: object
nullable: true
description: >-
Persisted duplicate-deposit refund relationships, or
null when none are recorded. Links can exist before
a refund completes; check each linked request's
status for its outcome.
properties:
parentRequestId:
type: string
nullable: true
description: >-
Original request associated with this
duplicate-deposit refund request, or null for a
parent request.
refundRequestIds:
type: array
items:
type: string
description: >-
Request IDs tracking refunds for duplicate
deposits on this request.
depositAddress:
type: object
nullable: true
properties:
address:
type: string
type:
type: string
enum:
- strict
- open
depositor:
type: string
nullable: true
depositTxHash:
type: string
nullable: true
recoveryAddress:
type: string
nullable: true
description: >-
Origin-chain address that can recover
deposit-address funds if the recipient wallet is
later blocked. Null when not specified.
data:
type: object
properties:
claimStatus:
type: string
enum:
- unclaimed
- claimed
- null
nullable: true
description: >-
Claim status stored on the request. New claims
are recorded by a background job after recovery
executes on the Hub; this does not confirm
withdrawal to the user's wallet. Older records
may predate recovery confirmation. Null when no
claim status has been recorded. Historical
claims require a separate backfill. Updated
asynchronously after indexing.
withdrawalStatus:
type: string
enum:
- not_withdrawn
- withdrawn
- null
nullable: true
description: >-
Withdrawal inferred from the Hub balance for
confirmed claims. Withdrawn means the
depositor's Hub balance for this token is zero;
not_withdrawn means it is nonzero. Cached for up
to three minutes. Balances are shared across
deposits; this does not confirm receipt in the
destination wallet. Null if not claimed or the
balance lookup or deposit identity is
unavailable or ambiguous.
slippageTolerance:
type: string
failReason:
type: string
enum:
- UNKNOWN
- SLIPPAGE
- AMOUNT_TOO_LOW_TO_REFUND
- DEPOSIT_ADDRESS_MISMATCH
- DEPOSIT_CHAIN_MISMATCH
- INCORRECT_DEPOSIT_CURRENCY
- DOUBLE_SPEND
- SOLVER_CAPACITY_EXCEEDED
- SOLVER_BALANCE_TOO_LOW
- DEPOSITED_AMOUNT_TOO_LOW_TO_FILL
- NEGATIVE_NEW_AMOUNT_AFTER_FEES
- NO_QUOTES
- MISSING_REVERT_DATA
- REVERSE_SWAP_FAILED
- GENERATE_SWAP_FAILED
- TOO_LITTLE_RECEIVED
- EXECUTION_REVERTED
- NEW_CALLDATA_INCLUDES_HIGHER_RENT_FEE
- TRANSACTION_REVERTED
- TRANSACTION_TOO_LARGE
- ORIGIN_CURRENCY_MISMATCH
- NO_INTERNAL_SWAP_ROUTES_FOUND
- SWAP_USES_TOO_MUCH_GAS
- INSUFFICIENT_FUNDS_FOR_RENT
- SPONSOR_BALANCE_TOO_LOW
- ORDER_EXPIRED
- ORDER_IS_CANCELLED
- TRANSFER_FROM_FAILED
- TRANSFER_FAILED
- SIGNATURE_EXPIRED
- INVALID_SIGNATURE
- INSUFFICIENT_NATIVE_TOKENS_SUPPLIED
- TRANSFER_AMOUNT_EXCEEDS_ALLOWANCE
- TRANSFER_AMOUNT_EXCEEDS_BALANCE
- INVALID_SENDER
- ACCOUNT_ABSTRACTION_INVALID_NONCE
- ACCOUNT_ABSTRACTION_SIGNATURE_ERROR
- SEAPORT_INEXACT_FRACTION
- TOKEN_NOT_TRANSFERABLE
- ZERO_SELL_AMOUNT
- MINT_NOT_ACTIVE
- ERC_1155_TOO_MANY_REQUESTED
- INCORRECT_PAYMENT
- INVALID_GAS_PRICE
- FLUID_DEX_ERROR
- ORDER_ALREADY_FILLED
- SEAPORT_INVALID_FULFILLER
- INVALID_SIGNER
- MINT_QUANTITY_EXCEEDS_MAX_PER_WALLET
- MINT_QUANTITY_EXCEEDS_MAX_SUPPLY
- JUPITER_INVALID_TOKEN_ACCOUNT
- INVALID_NONCE
- ACCOUNT_ABSTRACTION_GAS_LIMIT
- CONTRACT_PAUSED
- SWAP_IMPACT_TOO_HIGH
- INSUFFICIENT_POOL_LIQUIDITY
- POOL_CAP_EXCEEDED
- TTL_EXPIRED
- DEPOSIT_CONFIRMATION_TIMEOUT
- ORPHANED_DEPOSIT_REFUND
- GASLESS_PERMIT_BALANCE_TOO_LOW
- MANUAL_ADMIN_REFUND
- QUOTED_GAS_LIMIT_EXCEEDED
- DESTINATION_TOKEN_TRANSFER_REJECTED
- DEPOSIT_REORGED
- BLOCKED_WALLET
- PROTOCOL_DEADLINE_EXPIRED
- TRANSACTION_NOT_INCLUDED
- TRANSACTION_SUBMISSION_FAILED
- N/A
nullable: true
refundFailReason:
type: string
enum:
- AMOUNT_TOO_LOW_TO_REFUND
- NEGATIVE_NEW_AMOUNT_AFTER_FEES
- SWAP_CURRENCY_NOT_ON_ORIGIN
- REFUND_RECIPIENT_IS_VASP
- REFUND_RECIPIENT_IS_BLOCKED
- MANUAL_REFUND_REQUIRED
nullable: true
revertReason:
type: string
nullable: true
description: >-
Raw contract output for debugging only; do not
show it to end users. The decoded revert reason
when a failed or refunded request reverted on
chain or in simulation: the Error(string)
message, Panic(0x..) code, known custom error
name, or 4-byte selector of an unknown custom
error. Sanitized for safety because contracts
can embed phishing links: limited to printable
ASCII, URLs with a scheme, www prefix, IP
address, port or path are removed, and dots in
bare domains and dotted names are replaced with
underscores so they can't be rendered as links
(e.g. claim.store becomes claim_store and
SafeMath.sub becomes SafeMath_sub). Truncated to
128 characters. Null when no revert data was
captured or the request has not failed.
example: TRANSFER_FROM_FAILED
failedTxHash:
type: string
failedTxBlockNumber:
type: number
failedCallData:
type: object
properties:
from:
type: string
to:
type: string
data:
type: string
value:
type: string
usesExternalLiquidity:
type: boolean
timeEstimate:
type: number
nullable: true
triggeredByFastFill:
type: boolean
nullable: true
inTxs:
type: array
items:
type: object
properties:
txHash:
type: string
fee:
type: string
feeUsd:
type: string
block:
type: number
type:
type: string
chainId:
type: number
timestamp:
type: number
status:
type: string
enum:
- success
- failure
data: {}
stateChanges: {}
outTxs:
type: array
items:
type: object
properties:
txHash:
type: string
fee:
type: string
feeUsd:
type: string
block:
type: number
type:
type: string
chainId:
type: number
timestamp:
type: number
status:
type: string
enum:
- success
- failure
data: {}
stateChanges: {}
appFees:
type: object
properties:
quoted:
type: array
items:
type: object
properties:
recipient:
type: string
nullable: true
bps:
type: string
nullable: true
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
actual:
type: array
items:
type: object
properties:
recipient:
type: string
nullable: true
bps:
type: string
nullable: true
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
currency:
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
feeSponsorship:
type: object
description: >-
Granular fee sponsorship details derived from
the solver's internal sponsorship resolution.
properties:
quoted:
description: >-
The quote-time sponsorship expectation for
the request.
type: object
properties:
selectedComponents:
type: array
description: >-
The normalized sponsorship buckets
selected for this request.
items:
type: string
enum:
- execution
- swap
- platform
- app
- rent
maxSubsidizationAmount:
type: string
description: >-
The requested sponsorship cap in USD
micro-units, when one was configured for
the request.
subsidizationBps:
type: integer
description: >-
The requested share of each selected fee
bucket the sponsor covers, in bps (10000
= 100%), when one was configured for the
request.
capHit:
type: boolean
description: >-
Whether the configured sponsorship cap
limited the selected fee buckets for
this phase.
components:
type: object
description: >-
Per-bucket sponsorship details for the
five sponsorable fee components.
properties:
execution:
description: Execution fee sponsorship details.
type: object
properties:
selected:
type: boolean
description: >-
Whether this fee bucket was selected for
sponsorship.
total:
description: >-
The full amount charged for this fee
bucket.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
required:
- selected
- total
- sponsored
- userPays
swap:
description: Swap fee sponsorship details.
type: object
properties:
selected:
type: boolean
description: >-
Whether this fee bucket was selected for
sponsorship.
total:
description: >-
The full amount charged for this fee
bucket.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
required:
- selected
- total
- sponsored
- userPays
platform:
description: Platform fee sponsorship details.
type: object
properties:
selected:
type: boolean
description: >-
Whether this fee bucket was selected for
sponsorship.
total:
description: >-
The full amount charged for this fee
bucket.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
required:
- selected
- total
- sponsored
- userPays
app:
description: App fee sponsorship details.
type: object
properties:
selected:
type: boolean
description: >-
Whether this fee bucket was selected for
sponsorship.
total:
description: >-
The full amount charged for this fee
bucket.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
required:
- selected
- total
- sponsored
- userPays
rent:
description: Solana ATA rent sponsorship details.
type: object
properties:
selected:
type: boolean
description: >-
Whether this fee bucket was selected for
sponsorship.
total:
description: >-
The full amount charged for this fee
bucket.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
required:
- selected
- total
- sponsored
- userPays
required:
- execution
- swap
- platform
- app
- rent
sponsoredTotal:
description: >-
The total amount sponsored for this
phase.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
userPaysTotal:
description: >-
The total amount the user paid across
the sponsorable fee buckets for this
phase.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
required:
- selectedComponents
- capHit
- components
- sponsoredTotal
- userPaysTotal
actual:
description: >-
The post-solve sponsorship outcome recorded
for the request.
type: object
properties:
selectedComponents:
type: array
description: >-
The normalized sponsorship buckets
selected for this request.
items:
type: string
enum:
- execution
- swap
- platform
- app
- rent
maxSubsidizationAmount:
type: string
description: >-
The requested sponsorship cap in USD
micro-units, when one was configured for
the request.
subsidizationBps:
type: integer
description: >-
The requested share of each selected fee
bucket the sponsor covers, in bps (10000
= 100%), when one was configured for the
request.
capHit:
type: boolean
description: >-
Whether the configured sponsorship cap
limited the selected fee buckets for
this phase.
components:
type: object
description: >-
Per-bucket sponsorship details for the
five sponsorable fee components.
properties:
execution:
description: Execution fee sponsorship details.
type: object
properties:
selected:
type: boolean
description: >-
Whether this fee bucket was selected for
sponsorship.
total:
description: >-
The full amount charged for this fee
bucket.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
required:
- selected
- total
- sponsored
- userPays
swap:
description: Swap fee sponsorship details.
type: object
properties:
selected:
type: boolean
description: >-
Whether this fee bucket was selected for
sponsorship.
total:
description: >-
The full amount charged for this fee
bucket.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
required:
- selected
- total
- sponsored
- userPays
platform:
description: Platform fee sponsorship details.
type: object
properties:
selected:
type: boolean
description: >-
Whether this fee bucket was selected for
sponsorship.
total:
description: >-
The full amount charged for this fee
bucket.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
required:
- selected
- total
- sponsored
- userPays
app:
description: App fee sponsorship details.
type: object
properties:
selected:
type: boolean
description: >-
Whether this fee bucket was selected for
sponsorship.
total:
description: >-
The full amount charged for this fee
bucket.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
required:
- selected
- total
- sponsored
- userPays
rent:
description: Solana ATA rent sponsorship details.
type: object
properties:
selected:
type: boolean
description: >-
Whether this fee bucket was selected for
sponsorship.
total:
description: >-
The full amount charged for this fee
bucket.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
required:
- selected
- total
- sponsored
- userPays
required:
- execution
- swap
- platform
- app
- rent
sponsoredTotal:
description: >-
The total amount sponsored for this
phase.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
userPaysTotal:
description: >-
The total amount the user paid across
the sponsorable fee buckets for this
phase.
type: object
properties:
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
amountUsd:
type: string
nullable: true
minimumAmount:
type: string
nullable: true
sponsorPayment:
type: object
description: >-
How much the sponsor ultimately paid,
denominated in the sponsor payment
currency.
properties:
amount:
type: string
description: The sponsor payment amount.
address:
type: string
description: The sponsor payment currency address.
chainId:
type: number
description: The sponsor payment chain id.
required:
- amount
- address
- chainId
required:
- selectedComponents
- capHit
- components
- sponsoredTotal
- userPaysTotal
currency:
description: >-
The currency in which all sponsorship
amounts are denominated. Shared across all
nested amount objects.
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
nullable: true
fees:
type: object
nullable: true
description: >-
Breakdown of fees by component, with quoted and
actual values
properties:
quoted:
type: object
properties:
swap:
description: >-
Cost to execute swap or bridge depending
on available liquidity. This value can
be negative (representing network
rewards for improving liquidity
distribution)
type: object
properties:
usd:
type: string
nullable: true
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
execution:
description: >-
Fees paid to cover transaction execution
costs
type: object
properties:
usd:
type: string
nullable: true
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
platform:
description: Fees paid to the protocol
type: object
properties:
usd:
type: string
nullable: true
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
app:
description: >-
Fees paid to the app. Currency will be
the same as the relayer fee currency.
This needs to be claimed later by the
app owner and is not immediately
distributed to the app
type: object
properties:
usd:
type: string
nullable: true
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
sponsored:
description: Fees paid by a sponsor for this request
type: object
properties:
usd:
type: string
nullable: true
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
description: Fees as estimated at quote time
actual:
type: object
properties:
swap:
description: >-
Cost to execute swap or bridge depending
on available liquidity. This value can
be negative (representing network
rewards for improving liquidity
distribution)
type: object
properties:
usd:
type: string
nullable: true
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
execution:
description: >-
Fees paid to cover transaction execution
costs
type: object
properties:
usd:
type: string
nullable: true
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
platform:
description: Fees paid to the protocol
type: object
properties:
usd:
type: string
nullable: true
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
app:
description: >-
Fees paid to the app. Currency will be
the same as the relayer fee currency.
This needs to be claimed later by the
app owner and is not immediately
distributed to the app
type: object
properties:
usd:
type: string
nullable: true
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
sponsored:
description: Fees paid by a sponsor for this request
type: object
properties:
usd:
type: string
nullable: true
amount:
type: string
nullable: true
amountFormatted:
type: string
nullable: true
description: Fees as computed at fill time
currency:
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
platformFee:
type: object
nullable: true
description: >-
Platform fee — only returned when the caller
authenticates as the request's creator
integrator.
properties:
bucket:
type: string
ruleId:
type: string
relayFeeBps:
type: number
integratorFeeBps:
type: number
totalFeeBps:
type: number
relayFee:
type: object
properties:
currency:
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
amount:
type: string
amountFormatted:
type: string
amountUsd:
type: string
minimumAmount:
type: string
integratorFee:
type: object
properties:
currency:
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
amount:
type: string
amountFormatted:
type: string
amountUsd:
type: string
minimumAmount:
type: string
totalPlatformFee:
type: object
properties:
currency:
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
amount:
type: string
amountFormatted:
type: string
amountUsd:
type: string
minimumAmount:
type: string
integratorFeeRecipient:
type: string
nullable: true
referrer:
type: string
nullable: true
description: >-
Referrer — only returned when the caller
authenticates as the request's creator
integrator.
appId:
type: string
nullable: true
description: >-
Durable App attribution, returned only for your
own requests with includeAuthenticatedData=true.
Null when historical attribution is unavailable.
appName:
type: string
nullable: true
apiKeyName:
type: string
nullable: true
description: >-
API key name — only returned when the caller
authenticates as the request's creator
integrator.
blockedAddresses:
type: array
items:
type: string
nullable: true
description: >-
Address(es) that failed wallet screening and
caused a BLOCKED_WALLET failure. Only returned
when the caller authenticates as the request's
creator integrator. Never includes
screening-provider scores or reasons.
route:
type: object
nullable: true
properties:
includedSwapSources:
type: array
items:
type: string
includedOriginSwapSources:
type: array
items:
type: string
includedDestinationSwapSources:
type: array
items:
type: string
quoted:
type: object
nullable: true
properties:
origin:
type: object
nullable: true
properties:
inputCurrency:
type: object
properties:
currency:
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
amount:
type: string
amountFormatted:
type: string
amountUsd:
type: string
minimumAmount:
type: string
nullable: true
outputCurrency:
type: object
properties:
currency:
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
amount:
type: string
amountFormatted:
type: string
amountUsd:
type: string
minimumAmount:
type: string
nullable: true
router:
type: string
destination:
type: object
nullable: true
properties:
inputCurrency:
type: object
properties:
currency:
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
amount:
type: string
amountFormatted:
type: string
amountUsd:
type: string
minimumAmount:
type: string
nullable: true
outputCurrency:
type: object
properties:
currency:
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
amount:
type: string
amountFormatted:
type: string
amountUsd:
type: string
minimumAmount:
type: string
nullable: true
router:
type: string
actual:
type: object
nullable: true
properties:
origin:
type: object
nullable: true
properties:
inputCurrency:
type: object
properties:
currency:
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
amount:
type: string
amountFormatted:
type: string
amountUsd:
type: string
minimumAmount:
type: string
nullable: true
outputCurrency:
type: object
properties:
currency:
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
amount:
type: string
amountFormatted:
type: string
amountUsd:
type: string
minimumAmount:
type: string
nullable: true
router:
type: string
destination:
type: object
nullable: true
properties:
inputCurrency:
type: object
properties:
currency:
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
amount:
type: string
amountFormatted:
type: string
amountUsd:
type: string
minimumAmount:
type: string
nullable: true
outputCurrency:
type: object
properties:
currency:
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
amount:
type: string
amountFormatted:
type: string
amountUsd:
type: string
minimumAmount:
type: string
nullable: true
router:
type: string
currencyGasTopup:
type: object
properties:
currency:
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
amount:
type: string
amountFormatted:
type: string
amountUsd:
type: string
minimumAmount:
type: string
rate:
type: string
quoteOraclePrice:
type: object
nullable: true
description: >-
Oracle price snapshot at quote time, only
returned for fixed-BPS oracle integrators.
properties:
rate:
type: string
observedAt:
type: string
inputCurrency:
type: object
properties:
currency:
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
amount:
type: string
amountFormatted:
type: string
amountUsd:
type: string
minimumAmount:
type: string
outputCurrency:
type: object
properties:
currency:
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
amount:
type: string
amountFormatted:
type: string
amountUsd:
type: string
minimumAmount:
type: string
refundCurrencyData:
type: object
properties:
currency:
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
amount:
type: string
amountFormatted:
type: string
amountUsd:
type: string
minimumAmount:
type: string
nullable: true
externalMetadata:
type: object
properties:
moonpayId:
type: string
nullable: true
protocol:
type: object
properties:
orderId:
type: string
description: >-
The protocol-level deposit identifier passed as
`bytes32 id` to the Relay Depository.
hubType:
type: string
enum:
- onchain
isWithdrawable:
type: boolean
solver:
type: object
properties:
address:
type: string
protocolChainId:
type: string
chainId:
type: number
deposit:
type: object
properties:
origin:
type: object
properties:
amount:
type: string
chainId:
type: number
currency:
type: string
depositor:
type: string
depository:
type: string
onchainId:
type: string
transactionId:
type: string
relay:
type: object
properties:
amount:
type: string
chainId:
type: number
currency:
type: string
hash:
type: string
operation:
type: string
enum:
- mint
tokenMetadata:
type: object
properties:
decimals:
type: number
name:
type: string
symbol:
type: string
attestation:
type: object
properties:
execution:
type: object
properties:
actions:
type: array
items:
type: string
idempotencyKey:
type: string
attestations:
type: array
items:
type: object
properties:
oracleChainId:
type: string
oracleContract:
type: string
signerAddress:
type: string
signature:
type: string
settlement:
type: object
properties:
destination:
type: object
properties:
fills:
type: array
items:
type: object
properties:
chainId:
type: number
transactionId:
type: string
refunds:
type: array
items:
type: object
properties:
chainId:
type: number
transactionId:
type: string
relay:
type: object
properties:
amount:
type: string
chainId:
type: number
currency:
type: string
hash:
type: string
operation:
type: string
enum:
- transfer
- burn
- mixed
solver:
type: string
tokenMetadata:
type: object
properties:
decimals:
type: number
name:
type: string
symbol:
type: string
attestation:
type: object
properties:
execution:
type: object
properties:
actions:
type: array
items:
type: string
idempotencyKey:
type: string
attestations:
type: array
items:
type: object
properties:
oracleChainId:
type: string
oracleContract:
type: string
signerAddress:
type: string
signature:
type: string
nullable: true
requestType:
type: string
nullable: true
features:
type: array
items:
type: string
enum:
- gasless_execution
- gasless_swap
- fast_fill
- gas_top_up
- fixed_rate
- app_fees
- deposit_address
- fee_sponsorship
createdAt:
type: string
updatedAt:
type: string
continuation:
type: string
total:
type: number
description: >-
Total count of requests matching the given filters. Only
present when `includeTotal` was true.
This documentation is built and hosted on Mintlify, a developer documentation platform.