0.5.4 • Published 11 months 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-transaction
Usage
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
11 months ago
0.5.3
11 months ago
0.5.1
11 months ago
0.5.0
11 months ago
0.3.4
12 months ago
0.3.2
12 months ago
0.2.9
1 year ago
0.2.8
1 year ago
0.2.7
1 year ago
0.2.6
1 year ago
0.2.5
1 year ago
0.2.4
1 year ago
0.2.3
1 year ago
0.2.2
1 year ago
0.2.1
1 year ago
0.2.0
1 year ago
0.1.3
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago