instruction

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateIdempotentInstruction

type CreateIdempotentInstruction struct {
	// contains filtered or unexported fields
}

func (*CreateIdempotentInstruction) Accounts

func (*CreateIdempotentInstruction) Data

func (t *CreateIdempotentInstruction) Data() ([]byte, error)

func (*CreateIdempotentInstruction) ProgramID

type CreateInstruction

type CreateInstruction struct {
	// contains filtered or unexported fields
}

func NewCreateIdempotentInstruction

func NewCreateIdempotentInstruction(
	payer solana.PublicKey,
	newAssociatedTokenAddress solana.PublicKey,
	addressOwner solana.PublicKey,
	tokenAddress solana.PublicKey,
) *CreateInstruction

func NewCreateInstruction

func NewCreateInstruction(
	payer solana.PublicKey,
	newAssociatedTokenAddress solana.PublicKey,
	addressOwner solana.PublicKey,
	tokenAddress solana.PublicKey,
) *CreateInstruction

func (*CreateInstruction) Accounts

func (t *CreateInstruction) Accounts() []*solana.AccountMeta

func (*CreateInstruction) Data

func (t *CreateInstruction) Data() ([]byte, error)

func (*CreateInstruction) ProgramID

func (t *CreateInstruction) ProgramID() solana.PublicKey

Jump to

Keyboard shortcuts

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