rango-types
Version:
Rango Exchange Types
20 lines • 717 B
TypeScript
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