UNPKG

rango-types

Version:
20 lines 717 B
import { TransactionType } from '../transactions.js'; /** * Base transaction for all Rango supported transactions * * @property {TransactionType} type - Type of the transaction, e.g. EVM, SOLANA, COSMOS, ... * @property {string} blockChain - The blockchain that this transaction will be executed in * */ export interface BaseTransaction<P extends BaseTransactionPrerequisite = never> { type: TransactionType; blockChain: string; prerequisites: P[]; } type TransactionPrerequisitesType = 'STELLAR_CHANGE_TRUSTLINE' | 'XRPL_CHANGE_TRUSTLINE'; export interface BaseTransactionPrerequisite { type: TransactionPrerequisitesType; blockChain: string; } export {}; //# sourceMappingURL=base.d.ts.map