Function useSendTransaction
- useSendTransaction(): {
appName: string | undefined;
isLoading: boolean;
isAuthenticated: boolean;
isReady: boolean;
user: User | undefined;
createTransactionData: CreateTransaction | null;
details: AppMetadata | null;
error: string | null;
estimateGas: (() => Promise<EstimateTransactionIntentGasResult | null>);
onAccept: (() => Promise<void>);
onDeny: (() => Promise<void>);
} Returns {
appName: string | undefined;
isLoading: boolean;
isAuthenticated: boolean;
isReady: boolean;
user: User | undefined;
createTransactionData: CreateTransaction | null;
details: AppMetadata | null;
error: string | null;
estimateGas: (() => Promise<EstimateTransactionIntentGasResult | null>);
onAccept: (() => Promise<void>);
onDeny: (() => Promise<void>);
}
appName: string | undefined
isLoading: boolean
isAuthenticated: boolean
isReady: boolean
user: User | undefined
error: string | null
onAccept: (() => Promise<void>)
- (): Promise<void>
Returns Promise<void>
onDeny: (() => Promise<void>)
- (): Promise<void>
Returns Promise<void>