assotokenprog

package
Version: v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAssociatedTokenAccount

func CreateAssociatedTokenAccount(param CreateAssociatedTokenAccountParam) types.Instruction

CreateAssociatedTokenAccount is the only instruction in associated token program

Types

type CreateAssociatedTokenAccountParam added in v1.9.0

type CreateAssociatedTokenAccountParam struct {
	Funder                 common.PublicKey
	Owner                  common.PublicKey
	Mint                   common.PublicKey
	AssociatedTokenAccount common.PublicKey
}

Source Files

Jump to

Keyboard shortcuts

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