Skip to main content

Interface: IBuildBlockOptions

Options to build a new block, possibly with payloads.

Table of contents​

Properties​

Properties​

coinType​

• Optional coinType: CoinType

A coin type.


accountIndex​

• Optional accountIndex: number

An account index.


initialAddressIndex​

• Optional initialAddressIndex: number

An initial address index.


inputs​

• Optional inputs: UTXOInput[]

A list of inputs.


inputRange​

• Optional inputRange: IRange

An input range.


output​

• Optional output: IClientBlockBuilderOutputAddress

Bech32 encoded output address and amount.


outputHex​

• Optional outputHex: IClientBlockBuilderOutputAddress

Hex encoded output address and amount.


outputs​

• Optional outputs: Output[]

A list of outputs.


customRemainderAddress​

• Optional customRemainderAddress: string

A custom remainder address.


tag​

• Optional tag: string

A tag.


data​

• Optional data: string

Some metadata.


parents​

• Optional parents: string[]

Some parent block IDs.


burn​

• Optional burn: Burn

Parameters for explicit burning of aliases, nfts, foundries and native tokens.