rubic-sdk
Version:
Simplify dApp creation
19 lines (18 loc) • 612 B
TypeScript
export declare const RETRO_BRIDGE_TX_STATUS: {
readonly PENDING: "pending";
readonly WAIT_DEPOSIT: "wait deposit";
readonly DEPOSITED: "deposited";
readonly SENDING: "sending";
readonly SENT: "sent";
readonly COMPLETED: "completed";
readonly SEND_FAILED: "send failed";
readonly REJECTED: "rejected";
};
export type RetroBridgeTxStatus = (typeof RETRO_BRIDGE_TX_STATUS)[keyof typeof RETRO_BRIDGE_TX_STATUS];
export interface RetroBridgeStatusResponse {
data: {
status: RetroBridgeTxStatus;
destination_tx_hash: string;
source_tx_hash: string;
};
}