Skip to main content

createSlowCashDescriptor

@totemsdk/core


@totemsdk/core / createSlowCashDescriptor

Function: createSlowCashDescriptor()

createSlowCashDescriptor(address, ownerPublicKey, withdrawalPercent?, cooldownBlocks?): ScriptDescriptor

Parameters​

address​

string

ownerPublicKey​

string

withdrawalPercent?​

string = '0.9'

cooldownBlocks?​

bigint = 10000n

Returns​

ScriptDescriptor