@linenext/dapp-portal-sdk
Version:
Dapp Portal SDK
33 lines (32 loc) • 733 B
TypeScript
export interface PaymentInfo {
id: string;
pgType: string;
status: string;
currencyCode: string;
price: string;
decimal: number;
}
export interface CryptoApproveTxInfo {
allowanceTxDTO: PaymentTxBody;
approveTxDTO: PaymentTxBody;
enableCryptoFeeDelegation: boolean;
}
export interface PaymentStatusResponse {
status: string;
}
export interface StartPaymentResponse {
redirectUrl?: string;
paymentTxDTO?: PaymentTxBody;
enableCryptoFeeDelegation: boolean;
}
export interface PaymentTxBody {
to: string;
value: string;
input: string;
}
export interface SignTransactionResponse {
raw: string;
}
export interface FeeDelegatedTransactionResponse {
txHash: string;
}