0.5.4 • Published 1 year ago
@cryptoscan/solana-send-transaction v0.5.4
@cryptoscan/solana-send-transaction
The fastest way to send transaction in solana.
[GitHub] [Our website] [Docs] [Discord]
To install package:
npm install solana-send-transactionUsage
import { VersionedTransaction } from '@solana/web3.js';
import sendTransaction from 'solana-send-transaction';
const transaction = new VersionedTransaction();
sendTransaction(transaction).then((tx) => {
console.log(tx)
})Docs
transaction- Uint8 or VersionedTransactionoptions- options params for functioncommitment- Status of transaction to resolve promiseprocessed- Query the most recent block which has reached 1 confirmation by the connected nodeconfirmed- Query the most recent block which has reached 1 confirmation by the clusterfinalized- Query the most recent block which has been finalized by the cluster
connection- Connection instance from solana/web3.jsrepeatTimeout- Timeout to repeat while transaction does not reach commitmentblockHeightLimit- Block height limit to repeat while transaction is not expiredsendOptions- Options for sendTransaction functionskipPreflight- disable transaction verification steppreflightCommitment- preflight commitment levelmaxRetries- Maximum number of times for the RPC node to retry sending the transaction to the leaderminContextSlot- The minimum slot that the request can be evaluated at
0.5.4
1 year ago
0.5.3
1 year ago
0.5.1
1 year ago
0.5.0
2 years ago
0.3.4
2 years ago
0.3.2
2 years ago
0.2.9
2 years ago
0.2.8
2 years ago
0.2.7
2 years ago
0.2.6
2 years ago
0.2.5
2 years ago
0.2.4
2 years ago
0.2.3
2 years ago
0.2.2
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.1.3
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago