sendandconfirmtransaction

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2022 License: Apache-2.0 Imports: 5 Imported by: 28

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendAndConfirmTransaction

func SendAndConfirmTransaction(
	ctx context.Context,
	rpcClient *rpc.Client,
	wsClient *ws.Client,
	transaction *solana.Transaction,
) (signature solana.Signature, err error)

Send and wait for confirmation of a transaction.

func SendAndConfirmTransactionWithOpts

func SendAndConfirmTransactionWithOpts(
	ctx context.Context,
	rpcClient *rpc.Client,
	wsClient *ws.Client,
	transaction *solana.Transaction,
	skipPreflight bool,
	preflightCommitment rpc.CommitmentType,
) (signature solana.Signature, err error)

Send and wait for confirmation of a transaction.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL