Flare
App

Reference

REST endpoints

Every route with its inputs and outputs.

Every route of the API, grouped by what it serves. Paths take a flare's mint as :mint. Each route's types are listed under Models.

RouteClientWhat it answers
GET /healthhealthWhether the API serves chain data yet.
GET /v1/platformplatformThe platform’s addresses, fee rates, curve and Flare rules. Read once at start.
GET /v1/coinscoinsFlares, sorted, filtered and searched, one page at a time.
GET /v1/coins/:mintcoinOne flare with its live pool state.
GET /v1/coins/:mint/tradestradesThe flare’s trades, newest first.
GET /v1/coins/:mint/candlescandlesPrice candles.
GET /v1/coins/:mint/holdersholdersWho holds the flare.
GET /v1/coins/:mint/attentionattentionThe flare’s score, rank and every closed epoch with its components.
GET /v1/coins/:mint/treasurytreasuryThe flare’s marketing treasury: credited, paid, pending and each event. Flares launched on Flare only; a LaunchLab token answers NOT_FOUND.
GET /v1/coins/:mint/accessaccessThe flare’s access list, under the creator’s rule or one you pass. Flares launched on Flare only; a LaunchLab token answers NOT_FOUND.
GET /v1/leaderboard/holdersholderLeaderboardHolders by the summed scores of the flares they hold.
GET /v1/leaderboard/projectsprojectLeaderboardCreators by the summed scores of the flares they launched.
GET /v1/portfolio/:walletportfolioA wallet’s positions and the flares it launched.
POST /v1/metadatauploadMetadataUpload the image and text fields as multipart/form-data: an image file and an info field holding MetadataInfo as JSON. Answers the metadata URI a launch names.
POST /v1/launch/buildbuildLaunchBuild the launch transaction: the new flare and, optionally, the creator’s first buy.
POST /v1/trade/buildbuildTradeBuild an exact-in buy or sell on whichever venue the flare trades on now, with its quote.
POST /v1/transactions/submitsubmitHand back a signed transaction for the API to send, or the signature of one the wallet sent.
GET /v1/transactions/:idstatusA built transaction’s status, until it confirms, fails or expires.

Platform

GET /health

GET /health
ReturnsHealth

GET /v1/platform

GET /v1/platform
ReturnsPlatform
ErrorsPROGRAM_UNAVAILABLE, UPSTREAM_UNAVAILABLE

Flares

GET /v1/coins

GET /v1/coins
QueryCoinsQuery
ReturnsCoinsPage

GET /v1/coins/:mint

GET /v1/coins/:mint
:mintThe flare’s mint.
ReturnsCoinDetail
ErrorsNOT_FOUND, UPSTREAM_UNAVAILABLE

GET /v1/coins/:mint/trades

GET /v1/coins/:mint/trades
:mintThe flare’s mint.
QueryPageQuery
ReturnsTradesPage

GET /v1/coins/:mint/candles

GET /v1/coins/:mint/candles
:mintThe flare’s mint.
QueryCandlesQuery
ReturnsCandles

GET /v1/coins/:mint/holders

GET /v1/coins/:mint/holders
:mintThe flare’s mint.
ReturnsHolders
ErrorsNOT_FOUND

Attention

GET /v1/coins/:mint/attention

GET /v1/coins/:mint/attention
:mintThe flare’s mint.
ReturnsAttentionDetail
ErrorsNOT_FOUND

GET /v1/coins/:mint/treasury

GET /v1/coins/:mint/treasury
:mintThe flare’s mint.
ReturnsTreasury
ErrorsNOT_FOUND

GET /v1/coins/:mint/access

GET /v1/coins/:mint/access
:mintThe flare’s mint.
QueryAccessQuery
ReturnsAccessList
ErrorsNOT_FOUND

Portfolio and leaderboards

GET /v1/leaderboard/holders

GET /v1/leaderboard/holders
QueryLeaderboardQuery
ReturnsHolderLeaderboard

GET /v1/leaderboard/projects

GET /v1/leaderboard/projects
QueryLeaderboardQuery
ReturnsProjectLeaderboard

GET /v1/portfolio/:wallet

GET /v1/portfolio/:wallet
:walletThe wallet.
ReturnsPortfolio

Launch and trade

POST /v1/metadata

POST /v1/metadata
Bodyimage file and info field: MetadataInfo
ReturnsMetadataUpload
ErrorsUNSUPPORTED_MEDIA_TYPE, PAYLOAD_TOO_LARGE, IMAGE_INVALID, IMAGE_TOO_LARGE, UPLOAD_FAILED, CONFIGURATION_REQUIRED

POST /v1/launch/build

POST /v1/launch/build
BodyLaunchRequest
ReturnsLaunchBuild
ErrorsPROGRAM_UNAVAILABLE, MINT_STOCK_EMPTY, QUOTE_TOO_SMALL, SIMULATION_FAILED, CHAIN_REFUSED, UPSTREAM_UNAVAILABLE

POST /v1/trade/build

POST /v1/transactions/submit

POST /v1/transactions/submit
BodyTxSubmission.relay or TxSubmission.walletSent
ReturnsTxStatus
ErrorsPROGRAM_UNAVAILABLE, NOT_FOUND, TRANSACTION_EXPIRED, IDEMPOTENCY_CONFLICT, SIMULATION_FAILED, CHAIN_REFUSED, UPSTREAM_UNAVAILABLE

GET /v1/transactions/:id

GET /v1/transactions/:id
:idThe build’s id.
ReturnsTxStatus
ErrorsNOT_FOUND

Models

Every type the routes take and return. A field marked required is always present in a response and must be sent in a request.

Coin
FieldTypeDescription
sourcerequired'flare' | 'launchlab'flare launched on Flare, or launchlab a live token from another LaunchLab launchpad, read from Raydium’s public data.
launchpadrequiredstring | nullThe LaunchLab launchpad it launched on (Flare for Flare’s own), or null when unknown.
mintrequiredaddressThe flare’s token mint. Every flare route takes it as :mint.
poolrequiredaddressIts LaunchLab pool (PoolState).
namerequiredstringName, up to 32 characters.
symbolrequiredstringTicker, up to 10 characters.
descriptionrequiredstringThe creator’s description, from the metadata.
imagerequiredstring | nullImage URL from the metadata, or null when it has none.
metadataUrirequiredstring | nullThe metadata document the mint names; null for LaunchLab tokens.
linksrequiredCoinLinksWebsite, X and Telegram links from the metadata.
creatorrequiredaddressThe wallet that launched it. Its marketing treasury is paid here.
createdAtrequiredISO 8601 time, UTCWhen the launch confirmed.
launchSignaturerequiredsignature | nullThe launch transaction; null for LaunchLab tokens.
phaserequired'curve' | 'migrating' | 'graduated' | 'expired'curve trading on the curve, migrating sold out and waiting for Raydium’s migration, graduated trading on its CPMM pool, expired window closed before the curve sold out.
progressBpsrequiredbpsShare of the curve’s tokens sold, 0 to 10,000.
raisedQuoterequiredu64 stringLamports raised on the curve so far.
pricerequireddecimal stringSOL per whole token.
priceUsdrequireddecimal string | nullUSD per whole token, or null when no SOL price is available.
marketCaprequireddecimal stringMarket cap in SOL.
marketCapUsdrequireddecimal string | nullThe same in USD, or null.
volume24hQuoterequiredinteger stringLamports traded in the last 24 hours.
trades24hrequiredintegerTrades in the last 24 hours.
holdersrequiredinteger | nullWallets holding the token, pools excluded; null for LaunchLab tokens, whose holders aren’t read.
lastTradeAtrequiredISO 8601 time, UTC | nullTime of the latest trade, or null before the first.
cpmmPoolrequiredaddress | nullThe graduated CPMM pool, read from the migration transaction; null before graduation.
graduatedAtrequiredISO 8601 time, UTC | nullWhen the migration confirmed, or null.
windowDaysrequiredinteger | nullThe window the creator chose at launch, in days; null for LaunchLab tokens.
expiresAtrequiredISO 8601 time, UTC | nullcreatedAt plus the window. From this time the API builds no curve trades for the flare. Null for LaunchLab tokens.
attentionScorerequiredintegerScore of the last closed epoch, 0 to 1000; 0 until the first epoch closes.
attentionRankrequiredinteger | nullRank among the flares scored in that epoch, 1 the highest; null before the first score.
treasuryTotalrequiredu64 string | nullLamports credited to the creator’s marketing treasury so far; null for LaunchLab tokens.
treasuryPaidrequiredu64 string | nullLamports of that already sent to the creator’s wallet; null for LaunchLab tokens.
accessrequiredCoin.access | nullThe creator’s access rule for the flare’s access list; null for LaunchLab tokens.
Health
FieldTypeDescription
statusrequired'ready' | 'waiting' | 'fixture'The Flare platform: ready serving chain data, waiting up but the platform is not on chain yet, fixture serving fixtures.
feedobjectThe LaunchLab feed of other launchpads’ tokens: its status (live while its last read is recent, stale, starting), how many coins it holds, and readAt, its last read.
Platform
FieldTypeDescription
clusterrequired'mainnet' | 'devnet' | 'localnet'The Solana cluster the API reads.
platformConfigrequiredaddressFlare’s LaunchLab PlatformConfig.
globalConfigrequiredaddressRaydium’s WSOL GlobalConfig every flare launches under.
quoteMintrequiredaddressThe quote token: wrapped SOL.
quoteDecimalsrequiredintegerDecimals of the quote token (9).
baseDecimalsrequiredintegerDecimals of every flare token (6).
curveFeesrequiredPlatform.curveFeesThe fee rates every curve trade pays.
curverequiredPlatform.curveThe curve every launch uses.
cpmmrequiredPlatform.cpmmThe CPMM fee tier graduated flares trade on.
lookupTablesrequiredaddress[]Address lookup tables every built transaction compiles over.
flarerequiredPlatform.flareFlare’s own rules.
Platform.curveFees
FieldTypeDescription
protocolrequiredppmRaydium’s share, from the GlobalConfig.
platformrequiredppmFlare’s platform fee.
creatorrequiredppmLaunchLab’s creator fee; 0 on Flare.
Platform.curve
FieldTypeDescription
supplyrequiredu64 stringTotal supply of every flare, base units.
totalBaseSellrequiredu64 stringTokens the curve sells before it is sold out, base units.
totalQuoteFundRaisingrequiredu64 stringLamports the curve raises when sold out.
migrateFeerequiredu64 stringRaydium’s migration fee, lamports, taken from the raise at graduation.
Platform.cpmm
FieldTypeDescription
ammConfigrequiredaddressThe CPMM AmmConfig (fee tier).
traderequiredppmTrade fee on every swap.
protocolrequiredppmRaydium’s part of the trade fee.
fundrequiredppmRaydium’s fund part of the trade fee.
creatorrequiredppmCreator fee on every swap, paid to the platform key as the pool’s creator.
creatorSharerequiredppmThe part of each creator-fee collect Raydium keeps (the tier’s creator_fee_share_rate).
Platform.flare
FieldTypeDescription
windowDaysrequiredPlatform.flare.windowDaysThe window a launch may choose.
epochSecondsrequiredintegerLength of an attention epoch.
weightsrequiredPlatform.flare.weightsPercent weights of the four score components; they add up to 100.
treasurySharerequiredppmThe creator’s share of the platform curve fee and of the graduated pool’s creator fee after Raydium’s part.
Platform.flare.windowDays
FieldTypeDescription
defaultrequiredintegerDays when a launch names none.
minrequiredintegerShortest window.
maxrequiredintegerLongest window.
Platform.flare.weights
FieldTypeDescription
volumerequirednumberWeight of 24h volume.
holdersrequirednumberWeight of holders.
velocityrequirednumberWeight of buy velocity.
retentionrequirednumberWeight of retention.
CoinLinks
FieldTypeDescription
websitestringhttp or https URL.
xstringhttp or https URL.
telegramstringhttp or https URL.
Coin.access
FieldTypeDescription
thresholdrequiredu64 stringLeast balance, base units, a wallet must hold at an epoch close to count it.
epochsrequiredintegerEpoch closes a wallet must count to be on the list.
CoinDetail
FieldTypeDescription
staterequiredCurveState | CpmmState | nullThe live pool: the curve while trading on it, the CPMM pool once graduated, null while migrating.
stateSlotrequiredintegerThe slot state was read at.
asOfrequiredISO 8601 time, UTCWhen the response was made.
CurveState
FieldTypeDescription
kindrequired"curve"Always curve.
virtualBaserequiredu64 stringVirtual token reserve of the constant-product curve.
virtualQuoterequiredu64 stringVirtual SOL reserve.
realBaserequiredu64 stringTokens sold off the curve.
realQuoterequiredu64 stringLamports raised.
totalBaseSellrequiredu64 stringTokens the curve sells in all.
CpmmState
FieldTypeDescription
kindrequired"cpmm"Always cpmm.
poolrequiredaddressThe CPMM pool.
token0MintrequiredaddressThe pool’s token 0 (the smaller mint by bytes).
token1MintrequiredaddressIts token 1.
reserve0requiredu64 stringReserve of token 0, net of fees the pool still holds.
reserve1requiredu64 stringReserve of token 1, net of fees.
creatorFeeOnrequiredintegerWhich side pays the creator fee: 0 both tokens, 1 token 0 only, 2 token 1 only.
creatorFeeEnabledrequiredbooleanFalse when the pool charges no creator fee.
CoinsQuery
FieldTypeDescription
cursorstringpage.nextCursor from the previous page.
limitinteger = 24Items per page, 1 to 100.
sort'new' | 'marketCap' | 'volume' | 'progress' | 'lastTrade' | 'attention' = "new"new, marketCap, volume, progress, lastTrade or attention.
phase'curve' | 'migrating' | 'graduated' | 'expired'Only flares in this phase.
creatoraddressOnly flares this wallet launched.
source'flare' | 'launchlab'flare or launchlab only.
qstringName, symbol or mint, 1 to 64 characters.
CoinsPage
FieldTypeDescription
itemsrequiredCoin[]The flares on this page.
pagerequiredPageInfoWhere the next page starts.
asOfrequiredISO 8601 time, UTCWhen the response was made.
PageQuery
FieldTypeDescription
cursorstringpage.nextCursor from the previous page.
limitinteger = 24Items per page, 1 to 100.
PageInfo
FieldTypeDescription
nextCursorrequiredstring | nullPass as cursor for the next page; null on the last.
hasMorerequiredbooleanWhether another page follows.
Trade
FieldTypeDescription
signaturerequiredsignatureThe trade’s transaction.
mintrequiredaddressThe flare traded.
walletrequiredaddressThe trader.
siderequired'buy' | 'sell'buy or sell.
baserequiredu64 stringTokens bought or sold, base units.
quoterequiredu64 stringLamports paid on a buy (fees included) or received on a sell (fees taken).
pricerequireddecimal stringSOL per whole token at this trade.
priceUsdrequireddecimal string | nullUSD per whole token, or null.
venuerequired'curve' | 'cpmm'curve or cpmm.
slotrequiredinteger | nullSlot the trade landed in; null for LaunchLab tokens, whose source gives block time only.
atrequiredISO 8601 time, UTCBlock time.
TradesPage
FieldTypeDescription
itemsrequiredTrade[]Trades, newest first.
pagerequiredPageInfoWhere the next page starts.
asOfrequiredISO 8601 time, UTCWhen the response was made.
CandlesQuery
FieldTypeDescription
interval'1m' | '5m' | '15m' | '1h' | '4h' | '1d' = "5m"1m, 5m, 15m, 1h, 4h or 1d.
fromISO 8601 time, UTCFirst candle time.
toISO 8601 time, UTCLast candle time.
unit'quote' | 'usd' = "quote"quote for SOL per token, usd for USD per token.
Candles
FieldTypeDescription
mintrequiredaddressThe flare.
intervalrequired'1m' | '5m' | '15m' | '1h' | '4h' | '1d'The interval asked for.
unitrequired'quote' | 'usd'The unit asked for.
itemsrequiredCandle[]Candles, oldest first.
asOfrequiredISO 8601 time, UTCWhen the response was made.
Candle
FieldTypeDescription
timerequiredISO 8601 time, UTCStart of the interval.
openrequireddecimal stringFirst price.
highrequireddecimal stringHighest price.
lowrequireddecimal stringLowest price.
closerequireddecimal stringLast price.
volumeQuoterequiredinteger string | nullLamports traded in the interval; null for LaunchLab tokens.
tradesrequiredinteger | nullTrades in the interval; null for LaunchLab tokens.
Holders
FieldTypeDescription
mintrequiredaddressThe flare.
itemsrequiredHolder[]Holders, largest first, up to 100.
totalrequiredinteger | nullNumber of holders; null, with no items, for LaunchLab tokens.
asOfrequiredISO 8601 time, UTCWhen the response was made.
Holder
FieldTypeDescription
walletrequiredaddressThe holder.
amountrequiredu64 stringBalance, base units.
shareBpsrequiredbpsShare of the supply, 0 to 10,000.
isPoolrequiredbooleanTrue for the curve’s vault or the CPMM pool’s.
isCreatorrequiredbooleanTrue for the flare’s creator.
Portfolio
FieldTypeDescription
walletrequiredaddressThe wallet.
positionsrequiredPosition[]Flares it holds.
launchedrequiredCoin[]Flares it launched.
asOfrequiredISO 8601 time, UTCWhen the response was made.
Position
FieldTypeDescription
coinrequiredCoinThe flare held.
amountrequiredu64 stringBalance, base units.
valuerequiredinteger stringLamports the balance would fetch at the current price.
costrequiredinteger stringLamports spent on the tokens still held.
realizedrequiredsigned integer stringProfit or loss already taken on sells, lamports.
AttentionDetail
FieldTypeDescription
mintrequiredaddressThe flare.
scorerequiredintegerScore of the last closed epoch, 0 to 1000.
rankrequiredinteger | nullRank in that epoch, or null.
epochSecondsrequiredintegerLength of an epoch.
nextEpochAtrequiredISO 8601 time, UTCWhen the open epoch closes and the next score lands.
historyrequiredAttentionEpoch[]Closed epochs, newest first, up to 336 (14 days of hourly epochs).
asOfrequiredISO 8601 time, UTCWhen the response was made.
AttentionEpoch
FieldTypeDescription
epochrequiredintegerEpoch number: its start time divided by the epoch length.
startAtrequiredISO 8601 time, UTCStart of the epoch.
scorerequiredintegerThe weighted score, 0 to 1000. For LaunchLab tokens, volume and velocity only, in the proportion of their weights.
rankrequiredinteger | nullRank among the flares scored in the epoch.
volumerequiredintegerVolume component, 0 to 1000.
holdersrequiredinteger | nullHolders component, 0 to 1000; null for LaunchLab tokens.
velocityrequiredintegerVelocity component, 0 to 1000.
retentionrequiredinteger | nullRetention component, 0 to 1000; null for LaunchLab tokens.
holderCountrequiredinteger | nullWallets holding at the close, pools excluded; null for LaunchLab tokens.
Treasury
FieldTypeDescription
mintrequiredaddressThe flare.
creatorrequiredaddressThe wallet payouts go to.
totalrequiredu64 stringLamports credited so far.
paidrequiredu64 stringLamports sent to the creator.
pendingrequiredu64 stringCredited and not yet sent; the keeper pays it after its next fee claim.
sharerequiredppmThe creator’s share of each fee.
eventsrequiredTreasuryEvent[]Credits and payouts, newest first, up to 100.
asOfrequiredISO 8601 time, UTCWhen the response was made.
TreasuryEvent
FieldTypeDescription
signaturerequiredsignatureThe transaction that paid the fee, or the payout transaction.
amountrequiredu64 stringLamports credited or paid.
kindrequired'curve_fee' | 'cpmm_fee' | 'payout'curve_fee a share of a curve trade’s platform fee, cpmm_fee a share of a graduated pool’s creator fee, payout a transfer to the creator.
atrequiredISO 8601 time, UTCBlock time.
AccessQuery
FieldTypeDescription
thresholdu64 string, > 0Least balance, base units; the creator’s rule when left out.
epochsintegerEpoch closes held, 1 to 720; the creator’s rule when left out.
AccessList
FieldTypeDescription
mintrequiredaddressThe flare.
thresholdrequiredu64 stringThe balance applied.
epochsrequiredintegerThe epoch count applied.
finalrequiredbooleanFalse while the window is open and the list can still grow; true after graduation or expiry.
walletsrequiredAccessWallet[]Wallets on the list, those that held longest first, up to 10,000.
asOfrequiredISO 8601 time, UTCWhen the response was made.
AccessWallet
FieldTypeDescription
walletrequiredaddressThe holder.
balancerequiredu64 stringThe least it held at a counted epoch close.
epochsHeldrequiredintegerEpoch closes at which it held at least the threshold.
firstEpochrequiredintegerThe first such epoch.
LeaderboardQuery
FieldTypeDescription
limitinteger = 50Rows, 1 to 100.
HolderLeaderboard
FieldTypeDescription
itemsrequiredHolderRank[]Holders, highest total first.
asOfrequiredISO 8601 time, UTCWhen the response was made.
HolderRank
FieldTypeDescription
rankrequiredintegerPosition, from 1.
walletrequiredaddressThe holder.
totalScorerequiredintegerSum of the current scores of every flare it holds.
flareCountrequiredintegerFlares it holds.
ProjectLeaderboard
FieldTypeDescription
itemsrequiredProjectRank[]Creators, highest total first.
asOfrequiredISO 8601 time, UTCWhen the response was made.
ProjectRank
FieldTypeDescription
rankrequiredintegerPosition, from 1.
creatorrequiredaddressThe creator wallet.
totalScorerequiredintegerSum of the current scores of every flare it launched.
flareCountrequiredintegerFlares it launched.
toprequiredProjectRank.topIts highest-scoring flare.
ProjectRank.top
FieldTypeDescription
mintrequiredaddressThe flare.
namerequiredstringIts name.
symbolrequiredstringIts ticker.
scorerequiredintegerIts current score.
MetadataInfo
FieldTypeDescription
namerequiredstringName, 1 to 32 characters.
symbolrequiredstringTicker, 1 to 10 characters.
descriptionstring = ""Up to 1,000 characters.
linksCoinLinks = {}Website, X and Telegram links.
MetadataUpload
FieldTypeDescription
urirequiredstringThe metadata URI to pass as metadataUri to the launch.
imagerequiredstringThe uploaded image’s URL.
LaunchRequest
FieldTypeDescription
walletrequiredaddressThe creator’s wallet: fee payer, signer and the flare’s creator.
namerequiredstringName, 1 to 32 characters.
symbolrequiredstringTicker, 1 to 10 characters.
metadataUrirequiredstringThe uri from the metadata upload.
firstBuyu64 string = "0"Lamports the creator spends on a first buy in the launch transaction; "0" for none.
slippageBpsinteger = 100Slippage allowed on the first buy, 0 to 5,000.
windowDaysintegerThe window in days, within Platform.flare.windowDays.
accessThresholdu64 string, > 0The access rule’s least balance, base units. 1 when left out.
accessEpochsintegerThe access rule’s epoch count, 1 to 720. 1 when left out.
LaunchBuild
FieldTypeDescription
buildrequiredTxBuildThe transaction to sign.
mintrequiredaddressThe new flare’s mint.
poolrequiredaddressIts LaunchLab pool.
firstBuyrequiredLaunchBuild.firstBuy | nullThe first buy’s quote, or null without one.
LaunchBuild.firstBuy
FieldTypeDescription
quoteInrequiredu64 stringLamports spent.
baseOutrequiredu64 stringTokens expected, base units.
minimumOutrequiredu64 stringLeast tokens the transaction accepts.
feerequiredu64 stringLamports of fees in it.
TradeRequest
FieldTypeDescription
walletrequiredaddressThe trader: fee payer and signer.
mintrequiredaddressThe flare.
siderequired'buy' | 'sell'buy or sell.
amountrequiredu64 string, > 0Exact input: lamports on a buy, token base units on a sell.
slippageBpsinteger = 100Slippage allowed, 0 to 5,000.
TradeBuild
FieldTypeDescription
buildrequiredTxBuildThe transaction to sign.
quoterequiredTradeQuoteWhat it trades.
TradeQuote
FieldTypeDescription
venuerequired'curve' | 'cpmm'curve or cpmm, whichever the flare trades on now.
amountInrequiredu64 stringWhat goes in: lamports on a buy, tokens on a sell.
amountOutrequiredu64 stringWhat comes out at the current state.
minimumOutrequiredu64 stringThe least the transaction accepts, after slippage.
feerequiredu64 stringEvery fee the trade pays, lamports.
priceImpactBpsrequiredintegerHow far the trade moves the price, in bps.
TxBuild
FieldTypeDescription
idrequiredstringThe build’s id, for submit.
transactionBase64requiredbase64The unsigned v0 transaction.
blockhashrequiredstringIts recent blockhash.
lastValidBlockHeightrequiredintegerThe block height after which it can no longer land.
cosignedrequiredbooleanTrue for a launch: the server adds the new mint’s signature after the wallet signs, so the wallet hands it back to submit instead of sending it.
TxSubmission.relay
FieldTypeDescription
moderequired"relay"relay: the API sends the signed transaction.
buildIdrequiredstringThe build’s id.
signedTransactionBase64requiredbase64The transaction as the wallet signed it.
idempotencyKeyrequiredstring8 to 64 characters, one per attempt.
TxSubmission.walletSent
FieldTypeDescription
moderequired"wallet-sent"wallet-sent: the wallet already sent it.
buildIdrequiredstringThe build’s id.
signaturerequiredsignatureThe signature the wallet returned.
idempotencyKeyrequiredstring8 to 64 characters, one per attempt.
TxStatus
FieldTypeDescription
idrequiredstringThe build’s id.
statusrequired'submitted' | 'unconfirmed' | 'confirmed' | 'finalized' | 'failed' | 'expired'submitted, unconfirmed, confirmed, finalized, failed or expired.
signaturesignatureThe transaction signature once known.
errorTxFailureWhy it failed, on failed.
TxFailure
FieldTypeDescription
stagerequired'build' | 'wallet-rejected' | 'wallet-changed' | 'simulation' | 'send' | 'confirm'build, wallet-rejected, wallet-changed, simulation, send or confirm.
messagerequiredstringA sentence to show.
nextStepstringWhat to do next, when there is something to do.
retryablerequiredbooleanWhether building again can succeed.
programTxFailure.programThe program that refused it.
TxFailure.program
FieldTypeDescription
addressrequiredaddressThe program.
coderequiredinteger | nullIts custom error code, or null.
namerequiredstring | nullThe error’s name, or null.