Skip to main content

buildFundingTx

@totemsdk/omnia


@totemsdk/omnia / buildFundingTx

Function: buildFundingTx()

buildFundingTx(fundingScript, fundingScriptAddress, totalValue, tokenId, tokenScale, inputCoinIds, inputAmounts, inputAddresses): OmniaTxDraft

Parameters​

fundingScript​

string

fundingScriptAddress​

string

totalValue​

bigint

tokenId​

string

tokenScale​

number

inputCoinIds​

string[]

inputAmounts​

bigint[]

inputAddresses​

string[]

Returns​

OmniaTxDraft