Skip to main content

Function: coinWithBalance()

coinWithBalance(__namedParameters): (tx) => TransactionResult

Parameters

__namedParameters

__namedParameters.balance: number | bigint

__namedParameters.type?: string = IOTA_TYPE

__namedParameters.useGasCoin?: boolean = true

Returns

Function

Parameters

tx: Transaction

Returns

TransactionResult