Prerequisites
- Ensure you have a wallet created.
- API Key: Ensure you have an API key with the scopes:
wallets:transactions.create.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Send transactions from your wallet
wallets:transactions.create.import { useWallet, SolanaWallet } from '@crossmint/client-sdk-react-ui';
const { wallet } = useWallet();
const solanaWallet = SolanaWallet.from(wallet);
const { hash, explorerLink } = await solanaWallet.sendTransaction({
transaction: versionedTransaction,
additionalSigners: additionalSigners,
});
const wallet = await crossmintWallets.getWallet(walletLocator);
const solanaWallet = SolanaWallet.from(wallet);
const { hash, explorerLink } = await solanaWallet.sendTransaction({
transaction: versionedTransaction,
additionalSigners: additionalSigners,
});
import { useWallet, SolanaWallet } from '@crossmint/client-sdk-react-native-ui';
const { wallet } = useWallet();
const solanaWallet = SolanaWallet.from(wallet);
const { hash, explorerLink } = await solanaWallet.sendTransaction({
transaction: versionedTransaction,
additionalSigners: additionalSigners,
});
Was this page helpful?
