Method reference
Last updated
type ConnectionStatus = {
status: 'connected' | 'disconnected' | 'cancelled';
address?: `0x${string}`;
network: 'mainnet' | 'testnet';
};
type TransactionResult = {
status: 'approved' | 'cancelled' | 'error';
receipt?: {
hash: `0x${string}`;
blockHash: string;
blockNumber: number;
chainId: number;
gasUsed: number;
logs: { address: `0x${string}`; data: `0x${string}`; topics: string[] }[];
status: string;
transactionHash: `0x${string}`;
};
receipts?: TransactionResult['receipt'][]; // populated for batch callContract
error?: string;
silentHasUsedFallback?: boolean; // true when silent fell back to UI approval
};