Skip to main content

get

@opcat-labs/scrypt-ts-opcat v1.0.4


@opcat-labs/scrypt-ts-opcat / Networks / get

Function: get()

get(arg, keys): any

Defined in: node_modules/@opcat-labs/opcat/types/networks.d.cts:16

Parameters​

arg​

string | number | Network

keys​

if set, only check if the magic number associated with this name matches

string | any[]

Returns​

any

Network

Function​

Member​

Networks#get Retrieves the network associated with a magic number or string.