PdaSeedValueNodeA node that represents the value of a variable PDA seed.
| Attribute | Type | Description |
|---|---|---|
kind |
"pdaSeedValueNode" |
The node discriminator. |
name |
CamelCaseString |
The name of the variable seed. |
| 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. |
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'));