Skip to main content

buildMinimaCoin

@totemsdk/core


@totemsdk/core / buildMinimaCoin

Function: buildMinimaCoin()

buildMinimaCoin(opts): MinimaCoin

Parameters​

opts​

address​

Uint8Array

amount​

string

coinId?​

Uint8Array<ArrayBufferLike>

coinProofData?​

CoinProofData

created?​

bigint

mmrEntryNumber?​

bigint

rawAmountBytes?​

Uint8Array<ArrayBufferLike>

rawBlockCreatedBytes?​

Uint8Array<ArrayBufferLike>

rawMmrEntryBytes?​

Uint8Array<ArrayBufferLike>

spent?​

boolean

state?​

StateVariable[]

storeState?​

boolean

tokenId?​

Uint8Array<ArrayBufferLike>

Returns​

MinimaCoin