## 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 (v2)
Deprecated. Returns cross-chain transactions. Use GET /requests/v3 for new integrations.
[!WARNING] GET /requests/v2 is deprecated as of July 22, 2026 and is being sunset: its rate limit is reduced each month until it is fully retired on November 24, 2026. New integrations should use `GET /requests/v3`, which requires authentication and offers a richer filter surface and a cleaner response. See the migration guide for the full timeline and how to upgrade.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/v2:
get:
parameters:
- schema:
type: number
minimum: 1
maximum: 50
default: 20
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: string
in: query
name: user
required: false
description: Filter requests where this address is the sender or recipient.
- schema:
type: string
in: query
name: hash
required: false
description: Filter requests by an origin or destination 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. Non-terminal
requests are only returned to the API key that created them, or to a
dev-portal key of the same integrator.
- schema:
type: string
in: query
name: privateChainsToInclude
required: false
description: >-
Comma-separated list of private chain UUIDs to include in the
results.
- schema:
type: string
in: query
name: id
required: false
description: >-
Filter by `requestId` — the Relay-level intent identifier returned
by the quote api. Used for status polling, webhooks, and most other
API endpoints.
- schema:
type: string
in: query
name: orderId
required: false
description: >-
Filter by `orderId` — the protocol-level deposit identifier passed
as `bytes32 id` to the Relay Depository when funds are deposited,
and emitted in the deposit event.
- schema:
type: boolean
in: query
name: includeOrderData
required: false
description: >-
When true, include `orderData`; public non-terminal requests omit it
entirely.
- schema:
type: number
in: query
name: startTimestamp
required: false
description: Filter requests created at or after this Unix timestamp (seconds).
- schema:
type: number
in: query
name: endTimestamp
required: false
description: Filter requests created at or before this Unix timestamp (seconds).
- schema:
type: number
in: query
name: startBlock
required: false
description: >-
Filter requests by origin-chain block number (inclusive lower
bound).
- schema:
type: number
in: query
name: endBlock
required: false
description: >-
Filter requests by origin-chain block number (inclusive upper
bound).
- schema:
type: string
in: query
name: chainId
required: false
description: >-
Get all requests for a single chain in either direction. Setting
originChainId and/or destinationChainId will override this
parameter. Non-terminal requests are only returned to the API key
that created them, or to a dev-portal key of the same integrator.
- schema:
type: string
in: query
name: referrer
required: false
description: Filter requests by the `referrer` value supplied at quote time.
- schema:
type: string
in: query
name: depositAddress
required: false
description: >-
Filter requests by deposit address. Returns all requests associated
with this deposit address.
- schema:
type: boolean
in: query
name: includeChildRequests
required: false
description: >-
When filtering by id or depositAddress, also return child
transactions (e.g. duplicates, retries, refunds) linked to the
original request.
- 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: string
enum:
- success
- failure
- refund
- pending
- depositing
in: query
name: status
required: false
description: Filter requests by status.
- schema:
type: string
in: query
name: apiKey
required: false
description: Filter requests by the API key that created them.
- schema:
type: string
enum:
- createdAt
- updatedAt
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.
- schema:
type: string
in: header
name: x-api-key
required: false
description: Optional API key for authentication and higher rate limits.
responses:
'200':
description: Default Response
content:
application/json:
schema:
type: object
properties:
requests:
type: array
example:
id: >-
0xddd6c1a0340e940b7be4f5a4be076df8b7ec7de7b18f9ec6efe4bfffd2f21cf6
status: success
user: '0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea'
recipient: '0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea'
depositAddress:
address: '0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea'
depositAddressType: open
depositor: '0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea'
depositTxHash: >-
0x34d78ccb41099f0546be1c35541b28ab4c92b498aeb4cae6e849c51c05fe1f1b
data:
subsidizedRequest: false
fees:
gas: '2622672522398'
fixed: '10000000000000'
price: '39000000000000'
feesUsd:
gas: '9057'
fixed: '34534'
price: '134684'
inTxs:
- fee: '423218878900'
data:
to: '0xf70da97812cb96acdf810712aa562db8dfa3dbef'
data: '0x5869d8'
from: '0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea'
value: '2651622672522398'
hash: >-
0xe53021eaa63d100b08338197d26953e2219bcbad828267dd936c549ff643aad7
type: onchain
chainId: 7777777
timestamp: 1713290377
currency: eth
price: '2600000000000000'
usesExternalLiquidity: false
outTxs:
- fee: '1837343366480'
data:
to: '0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea'
data: '0x5869d8'
from: '0xf70da97812cb96acdf810712aa562db8dfa3dbef'
value: '2600000000000000'
hash: >-
0x9da7bc54dfe6229d6980fd62250d472f23dfe0f41a1cdc870c81a08b3445f254
type: onchain
chainId: 8453
timestamp: 1713290383
moonpayId: 9dc342c3-538b-4731-aba7-13ed89acc7ae
createdAt: '2024-04-16T17:59:39.702Z'
updatedAt: '2024-04-16T17:59:46.145Z'
items:
type: object
properties:
id:
type: string
description: >-
The `requestId` — the Relay-level intent identifier
used across the API for status polling, webhooks,
and most other endpoints. Distinct from
`protocol.orderId`, which is the protocol-level
deposit identifier extractable from on-chain data.
status:
type: string
enum:
- refund
- waiting
- depositing
- failure
- pending
- success
description: >-
Note that fallback is returned in the case of a
refund
user:
type: string
description: The address that initiated the request.
recipient:
type: string
description: The address that receives the destination output.
depositAddress:
type: object
nullable: true
properties:
address:
type: string
depositAddressType:
type: string
enum:
- strict
- open
depositor:
type: string
nullable: true
depositTxHash:
type: string
nullable: true
data:
type: object
properties:
slippageTolerance:
type: string
description: >-
Slippage tolerance for the swap. This value is
in basis points (1/100th of a percent), e.g. 50
for 0.5% slippage
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
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
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
supersededByRequestId:
type: string
nullable: true
description: >-
Regenerated requestId that now owns the
sweep/fill for a superseded deposit-address
request.
failedTxHash:
type: string
failedTxBlockNumber:
type: number
failedCallData:
type: object
properties:
from:
type: string
to:
type: string
data:
type: string
value:
type: string
subsidizedRequest:
type: boolean
fees:
type: object
properties:
gas:
type: string
description: >-
Estimated gas cost required for execution,
in wei
fixed:
type: string
description: >-
The fixed fee which is always added to
execution, in wei
price:
type: string
description: >-
The dynamic fee which is a result of the
chain and the amount, in wei
gateway:
type: string
description: The fee taken by the API gateway, in wei
feesUsd:
type: object
properties:
gas:
type: string
fixed:
type: string
price:
type: string
gateway:
type: string
inTxs:
type: array
items:
type: object
properties:
fee:
type: string
description: Total fees in wei
data: {}
stateChanges: {}
hash:
type: string
block:
type: number
type:
type: string
description: >-
The type of transaction, always set to
onchain
chainId:
type: number
timestamp:
type: number
status:
type: string
enum:
- success
- failure
currency:
type: string
currencyObject:
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
feeCurrency:
type: string
feeCurrencyObject:
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
appFeeCurrencyObject:
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
refundCurrencyData:
type: object
example:
currency:
chainId: 8453
address: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
appFees:
type: array
items:
type: object
properties:
recipient:
type: string
nullable: true
bps:
type: string
nullable: true
amount:
type: string
nullable: true
amountUsd:
type: string
nullable: true
amountUsdCurrent:
type: string
nullable: true
subsidizedFee:
type: object
properties:
origin:
type: object
properties:
amount:
type: string
address:
type: string
chainId:
type: number
sponsor:
type: object
properties:
amount:
type: string
address:
type: string
chainId:
type: number
amountUsd:
type: string
amountUsdCurrent:
type: string
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
- relay
- 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
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
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
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
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
required:
- selected
- total
- sponsored
- userPays
relay:
description: Relay protocol 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
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
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
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
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
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
required:
- selected
- total
- sponsored
- userPays
required:
- execution
- swap
- relay
- app
- rent
sponsoredTotal:
description: >-
The total amount sponsored for this
phase.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
userPaysTotal:
description: >-
The total amount the user paid across
the sponsorable fee buckets for this
phase.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
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
- relay
- 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
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
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
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
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
required:
- selected
- total
- sponsored
- userPays
relay:
description: Relay protocol 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
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
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
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
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
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
sponsored:
description: >-
The portion of this fee bucket covered
by the sponsor.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
userPays:
description: >-
The portion of this fee bucket that
remained user-paid.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
required:
- selected
- total
- sponsored
- userPays
required:
- execution
- swap
- relay
- app
- rent
sponsoredTotal:
description: >-
The total amount sponsored for this
phase.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
userPaysTotal:
description: >-
The total amount the user paid across
the sponsorable fee buckets for this
phase.
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
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
expandedPriceImpact:
type: object
nullable: true
description: >-
Breakdown of price impact 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
execution:
description: >-
Fees paid to cover transaction execution
costs
type: object
properties:
usd:
type: string
relay:
description: Fees paid to the protocol
type: object
properties:
usd:
type: string
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
sponsored:
description: Fees paid by a sponsor for this request
type: object
properties:
usd:
type: string
description: Price impact 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
execution:
description: >-
Fees paid to cover transaction execution
costs
type: object
properties:
usd:
type: string
relay:
description: Fees paid to the protocol
type: object
properties:
usd:
type: string
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
sponsored:
description: Fees paid by a sponsor for this request
type: object
properties:
usd:
type: string
description: Price impact as computed at fill time
paidAppFees:
type: array
items:
type: object
properties:
recipient:
type: string
nullable: true
bps:
type: string
nullable: true
amount:
type: string
nullable: true
amountUsd:
type: string
nullable: true
amountUsdCurrent:
type: string
nullable: true
platformFee:
type: object
nullable: true
properties:
bucket:
type: string
ruleId:
type: string
relayFeeBps:
type: number
integratorFeeBps:
type: number
totalFeeBps:
type: number
relayFee:
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
metadata:
type: object
properties:
sender:
type: string
recipient:
type: string
currencyIn:
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
amountUsdCurrent: '30.901612'
minimumAmount: '30454920'
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
amountUsdCurrent:
type: string
minimumAmount:
type: string
currencyOut:
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
amountUsdCurrent: '30.901612'
minimumAmount: '30454920'
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
amountUsdCurrent:
type: string
minimumAmount:
type: string
currencyGasTopup:
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
properties:
rate:
type: string
inputAmount:
type: string
outputAmount:
type: string
observedAt:
type: string
from:
type: object
properties:
chainId:
type: number
address:
type: string
currencyId:
type: string
decimals:
type: number
to:
type: object
properties:
chainId:
type: number
address:
type: string
currencyId:
type: string
decimals:
type: number
route:
type: object
properties:
origin:
type: object
description: >-
The route taken for the origin chain
swap
properties:
inputCurrency:
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
router:
type: string
includedSwapSources:
type: array
items:
type: string
destination:
type: object
description: >-
The route taken for the origin chain
swap
properties:
inputCurrency:
type: object
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
example:
currency:
chainId: 8453
address: >-
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
symbol: USDC
name: USD Coin
decimals: 6
metadata:
logoURI: >-
https://ethereum-optimism.github.io/data/USDC/logo.png
verified: false
isNative: false
amount: '30754920'
amountFormatted: '30.75492'
amountUsd: '30.901612'
minimumAmount: '30454920'
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
router:
type: string
includedSwapSources:
type: array
items:
type: string
price:
type: string
usesExternalLiquidity:
type: boolean
timeEstimate:
type: number
triggeredByFastFill:
type: boolean
outTxs:
type: array
items:
type: object
properties:
fee:
type: string
description: Total fees in wei
data: {}
stateChanges: {}
hash:
type: string
block:
type: number
type:
type: string
description: >-
The type of transaction, always set to
onchain
chainId:
type: number
timestamp:
type: number
status:
type: string
enum:
- success
- failure
protocol:
type: object
properties:
orderId:
type: string
description: >-
The protocol-level deposit identifier passed as
`bytes32 id` to the Relay Depository when funds
are deposited, and emitted in the deposit event.
Use this to correlate on-chain deposit data to a
Relay request. Distinct from the `requestId`,
which is the Relay-level intent identifier used
across the API.
hubType:
type: string
enum:
- onchain
isWithdrawable:
type: boolean
description: >-
True if the deposit is recoverable via the
protocol withdrawal flow.
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
orderData: {}
referrer:
type: string
moonpayId:
type: string
createdAt:
type: string
updatedAt:
type: string
continuation:
type: string
deprecation:
type: object
additionalProperties: false
required:
- message
- deprecatedAt
- migrationGuide
properties:
message:
type: string
deprecatedAt:
type: string
throttledFrom:
type: string
sunsetAt:
type: string
successor:
type: string
migrationGuide:
type: string
deprecated: true
This documentation is built and hosted on Mintlify, a developer documentation platform.