Skip to main content

getActivePolicyRoot

@totemsdk/recursive-mast


@totemsdk/recursive-mast / getActivePolicyRoot

Function: getActivePolicyRoot()

getActivePolicyRoot(path, currentBlock): string

Get the active policy root at a given block height from a migration path.

Parameters

path

MigrationPath

currentBlock

number

Returns

string