14.05.2026 rip
This commit is contained in:
@@ -192,3 +192,12 @@ export async function getTokensList(): Promise<TokenInfo[]> {
|
||||
export async function getRelayQuote(payload: RelayQuotePayload): Promise<RelayQuoteResponse> {
|
||||
return walletPost<RelayQuoteResponse>('/api/relay/quote', payload)
|
||||
}
|
||||
|
||||
export async function createWallet(): Promise<void> {
|
||||
await walletPost<unknown>('/wallet/create', {})
|
||||
}
|
||||
|
||||
export async function revealMnemonic(): Promise<string> {
|
||||
const res = await walletPost<{ success: boolean; data: { mnemonic: string } }>('/wallets/mnemonic/reveal', {})
|
||||
return res.data.mnemonic
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user