Interface: TradeQuoteParams
Gala Launchpad SDK 9.0.0-rc.5 / index / TradeQuoteParams
Interface: TradeQuoteParams
Defined in: packages/launchpad-sdk/dist/types/launchpad.dto.d.ts:528
Parameters for getting a trade quote via the backend proxy
Since
9.1.0
Properties
amount
amount:
string
Defined in: packages/launchpad-sdk/dist/types/launchpad.dto.d.ts:532
Amount as a string decimal
method
method:
"IN"|"OUT"
Defined in: packages/launchpad-sdk/dist/types/launchpad.dto.d.ts:536
'IN' = spend this amount, 'OUT' = receive this amount
signal?
optionalsignal?:AbortSignal
Defined in: packages/launchpad-sdk/dist/types/launchpad.dto.d.ts:538
Aborts the request in flight (a newer quote superseded this one); the call then rejects
tokenName
tokenName:
string
Defined in: packages/launchpad-sdk/dist/types/launchpad.dto.d.ts:530
Token name (e.g. 'anime')
type
type:
"NATIVE"|"MEME"
Defined in: packages/launchpad-sdk/dist/types/launchpad.dto.d.ts:534
'MEME' = meme/launchpad token, 'NATIVE' = GALA