Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.46 KB

PdaSeedValueNode.md

File metadata and controls

28 lines (18 loc) · 1.46 KB

PdaSeedValueNode

A node that represents the value of a variable PDA seed.

Attributes

Data

Attribute Type Description
kind "pdaSeedValueNode" The node discriminator.
name CamelCaseString The name of the variable seed.

Children

Attribute Type Description
value AccountValueNode | ArgumentValueNode | ValueNode The value of the variable PDA seed. This can be a simple ValueNode or a contextual value pointing to another account or argument.

Functions

pdaSeedValueNode(name, value)

Helper function that creates a PdaSeedValueNode object from the name of the variable seed and its value.

const node = pdaSeedValueNode('mint', accountValueNode('mint'));