@aldea/sdk / Exports / instructions / FundInstruction
Class: FundInstruction
instructions.FundInstruction
Fund Instruction.
Marks a Coin UTXO to be used for the transaction fee. All of the coin's motos will be consumed and the coin will be destroyed.
Hierarchy
↳
FundInstruction
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new FundInstruction(idx
): FundInstruction
Parameters
Name | Type |
---|---|
idx | number |
Returns
Overrides
Defined in
packages/core/dist/instructions/fund.d.ts:10
Properties
idx
• idx: number
Defined in
packages/core/dist/instructions/fund.d.ts:9
opcode
• opcode: OpCode
Inherited from
Defined in
packages/core/dist/instruction.d.ts:26
Methods
toBytes
▸ toBytes(): Uint8Array
Returns
Uint8Array
Inherited from
Defined in
packages/core/dist/instruction.d.ts:29
fromBytes
▸ fromBytes(bytes
): Instruction
Parameters
Name | Type |
---|---|
bytes | Uint8Array |
Returns
Inherited from
Defined in
packages/core/dist/instruction.d.ts:28