Skip to main content

getStateBigInt

@totemsdk/omnia


@totemsdk/omnia / getStateBigInt

Function: getStateBigInt()

getStateBigInt(state, port, fallback?): bigint

Parameters​

state​

Pick<SignedChannelState, "stateVariables"> | null | undefined

port​

number

fallback?​

bigint = 0n

Returns​

bigint