Defined in: account-kit/react/dist/types/hooks/useSolanaTransaction.d.ts:37
We wanted to make sure that this will be using the same useMutation that the useSendUserOperation does. We are going to flatten it to make sure that we are abstracting it, and that we have the flattened version here for readability.
| Property | Type | Description |
|---|---|---|
| The solana connection used to send the transaction | |
| | The result of the transaction | |
| The error that occurred | |
| Is the use sending a transaction | |
| The solana signer used to send the transaction |
reset(): void;Defined in: account-kit/react/dist/types/hooks/useSolanaTransaction.d.ts:50
Returns
void
sendTransaction(params): void;Defined in: account-kit/react/dist/types/hooks/useSolanaTransaction.d.ts:52
Send the transaction
Parameters
| Parameter | Type |
|---|---|
|
Returns
void
sendTransactionAsync(params): Promise<{
hash: string;
}>;Defined in: account-kit/react/dist/types/hooks/useSolanaTransaction.d.ts:54
Send the transaction asynchronously
Parameters
| Parameter | Type |
|---|---|
|
Returns
Promise<{
hash: string;
}>