Skip to main content
Version: 11.x

Variable: DEFAULT_GLOBAL_CONFIG

const DEFAULT_GLOBAL_CONFIG: object

Defined in: src/global/constants.ts:171

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​

uint8Array

The uint8Array to hash

Returns​

The hash of the uint8Array

Example​

config.set('blake', (uint8Array: Uint8Array) => {
return blake2s(uint8Array, { dkLen: 32 });
});