package
0.1.0
Repository: https://github.com/easypmnt/checkout-api.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

BurnToken burns the specified token.
CheckSolTransferTransaction checks if a transaction is a SOL transfer transaction.
CheckTokenTransferTransaction checks if a transaction is a token transfer transaction.
CloseTokenAccount closes the specified token account.
CreateAssociatedTokenAccountIfNotExists creates an associated token account for the given owner and mint if it does not exist.
CreateFungibleToken creates instructions for minting fungible tokens or assets.
DecodeTransaction returns a transaction from a base64 encoded transaction.
EncodeTransaction returns a base64 encoded transaction.
Memo returns a list of instructions that can be used to add a memo to transaction.
MintFungibleToken mints the fungible token.
NewBalance returns a new Balance instance.
NewClient creates a new Client instance.
NewTransactionBuilder creates a new TransactionBuilder instance.
ParseTransactionStatus parses the transaction status from the given string.
SignTransaction signs a transaction and returns a base64 encoded transaction.
TransferSOL transfers SOL from one wallet to another.
TransferToken transfers tokens from one wallet to another.
UpdateFungibleMetadata updates the metadata of the fungible token.
WithRPCClient sets the rpc client.
WithRPCEndpoint sets the rpc endpoint.
WithTokenListPath sets the token list path.
WithWSClient sets the ws client.
WithWSEndpoint sets the ws endpoint.

# Constants

Mainnet-beta.
Testnet.
TransactionStatus enum.
TransactionStatus enum.
TransactionStatus enum.
TransactionStatus enum.

# Variables

Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.

# Structs

No description provided by the author
BurnTokenParams are the parameters for the BurnToken instruction.
No description provided by the author
CloseTokenAccountParams are the parameters for the CloseTokenAccount instruction.
CreateAssociatedTokenAccountParam defines the parameters for creating an associated token account.
CreateFungibleTokenParam defines the parameters for the CreateFungibleToken instruction.
FungibleTokenMetadata represents the metadata of a fungible token.
MintFungibleTokenParams is the params for MintFungibleToken.
@deprecated This is a temporary solution to support the deprecated metadata format.
@deprecated This is a temporary solution to support the deprecated metadata format.
@deprecated This is a temporary solution to support the deprecated metadata format.
No description provided by the author
TransferSOLParams defines the parameters for transferring SOL.
TransferTokenParam defines the parameters for transferring tokens.
UpdateFungibleMetadataParams is the params for UpdateMetadata.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
TransactionStatus represents the status of a transaction.