Variable: DEFAULT_GLOBAL_CONFIG
constDEFAULT_GLOBAL_CONFIG:object
Defined in: src/global/constants.ts:154
Type Declaration
logLevel
logLevel:
LogLevel
rpcVersion
rpcVersion:
SupportedRpcVersion
transactionVersion
transactionVersion:
SupportedTransactionVersion
resourceBoundsOverhead
resourceBoundsOverhead:
ResourceBoundsOverhead
defaultTipType
defaultTipType:
TipType
channelDefaults
channelDefaults:
ChannelDefaults
fetch
fetch:
any
websocket
websocket:
any
buffer
buffer:
any
blake
blake: ((
uint8Array) =>Uint8Array) |undefined
Custom blake function
Param
The uint8Array to hash
Returns
The hash of the uint8Array
Example
config.set('blake', (uint8Array: Uint8Array) => {
return blake2s(uint8Array, { dkLen: 32 });
});