Reference
Types
All types returned by the Superbridge API
All types returned by the Superbridge API, generated from the OpenAPI spec.
Chain
Returned by the /v1/chains endpoint.
stringNative chain ID (e.g. 1 for Ethereum)
string[]Shorthand chain identifier (e.g. eth for Ethereum)
stringChain UUID (internal identifier)
BlockExplorer[]string | null"evm" | "svm" | "stark""mainnet" | "testnet" | "devnet"stringstringbooleanToken
Returned by the /v1/tokens endpoint.
string0x0000000000000000000000000000000000000000 for native tokens
stringChain UUID (internal identifier)
stringNative chain ID (e.g. 1 for Ethereum)
string[]Shorthand chain identifier (e.g. eth for Ethereum)
stringnumberstring | nullstringnumber | nullbooleanbooleanRouteResult
A single provider's response to a route request. Contains either a quote or an error.
QuoteDto5GenericQuoteErrorDtoAmountTooLargeQuoteErrorDtoAmountTooSmallQuoteErrorDtoPausedQuoteErrorDtoDisabledQuoteErrorDtoPriceImpactTooHighQuoteErrorDtoEscapeHatchNotSupportedQuoteErrorDtoERC777MintToSmartContractQuoteErrorDtoRouteProviderDtoRouteQuote
A successful quote from a provider.
Initiating Transactions
Pre-built transactions to be signed and submitted. The shape varies by VM type.
EVM
"evm"stringChain UUID (internal identifier)
stringNative chain ID (e.g. 1 for Ethereum)
string[]Shorthand chain identifier (e.g. eth for Ethereum)
stringHex
stringstringEVM Gasless
"evm-gasless"stringChain UUID (internal identifier)
stringNative chain ID (e.g. 1 for Ethereum)
string[]Shorthand chain identifier (e.g. eth for Ethereum)
stringSVM
"svm"stringBase64
stringstringstring[]Starknet
"starknet"stringstringstring[]StarkCallDto[]TokenApproval
An ERC-20 approval required before bridging. See Approvals.
stringThe contract that needs the approval
stringstringInitiatingTransactionEvmDto5RouteFeeItem
A single fee line item.
stringstringTokenbooleannumberActivity
An activity item returned by the /v1/activity endpoint.
stringChain UUID (internal identifier)
stringNative chain ID (e.g. 1 for Ethereum)
string[]Shorthand chain identifier (e.g. eth for Ethereum)
stringChain UUID (internal identifier)
stringNative chain ID (e.g. 1 for Ethereum)
string[]Shorthand chain identifier (e.g. eth for Ethereum)
TransactionStepDoneDtoTransactionStepNotReadyDtoTransactionStepReadyDtoTransactionStepAutoDtoWaitStepDoneDtoWaitStepInProgressDtoWaitStepNotStartedDtoInfoStepDto[]RouteProviderDtostringstringstringstringstringActivityFee[]TokenTokenstring | nullnumber | nullstring | nullnumber | nullbooleanstring | nullActivityFee
stringstringTokenTransactionStepDone
A completed transaction step.
"transaction"stringChain UUID (internal identifier)
stringNative chain ID (e.g. 1 for Ethereum)
string[]Shorthand chain identifier (e.g. eth for Ethereum)
RouteAction"done"ConfirmationDtoV2Tokenstring | nullTransactionStepReady
A transaction step that is ready to be signed.
"transaction"stringChain UUID (internal identifier)
stringNative chain ID (e.g. 1 for Ethereum)
string[]Shorthand chain identifier (e.g. eth for Ethereum)
RouteAction"ready"TransactionStepNotReady
A transaction step that is not yet available.
"transaction"stringChain UUID (internal identifier)
stringNative chain ID (e.g. 1 for Ethereum)
string[]Shorthand chain identifier (e.g. eth for Ethereum)
RouteAction"not-ready"EvmGasEstimateDto | SvmGasEstimateDtoTransactionStepAuto
A transaction step handled automatically (e.g. by a relayer).
"transaction"stringChain UUID (internal identifier)
stringNative chain ID (e.g. 1 for Ethereum)
string[]Shorthand chain identifier (e.g. eth for Ethereum)
RouteAction"auto"WaitStepDone
A completed wait step.
"wait""done"numbernumberWaitStepInProgress
A wait step currently in progress.
"wait""in-progress"numberstringnumberWaitStepNotStarted
A wait step that has not started yet.
"wait""not-started"numberInfoStep
An informational step with optional link.
"info"stringstringConfirmation
Transaction confirmation details.
numberstring"confirmed" | "reverted" | "dropped"BlockExplorer
string"etherscan""blockscout""routescan""starkscan""other"EvmGasEstimate
numberSvmGasEstimate
numbernumbernumberRouteProviderInfo
Display information for a route provider.
RouteProviderUnique identifier for the provider
stringURL to the provider icon
stringDisplay name of the provider