Skip to main content

UtilsNamespace class

Signature:

export declare class UtilsNamespace

Constructors

ConstructorModifiersDescription
(constructor)(eniblock)Constructs a new instance of the UtilsNamespace class

Properties

PropertyModifiersTypeDescription
eniblockreadonlyEniblock

Methods

MethodModifiersDescription
getAllTokensTransferHistory(address, options)Return the tokens transfer history by address
getNativeBalance(address)Retrieves the native balance of an address.
getNativeTransferHistory(address, options)Return the Native tokens transfer history by address
getNfts(addressToCheck)Retrieves the NFTs (Non-Fungible Tokens) owned by an address.
getTokensBalance(addressToCheck, contractAddresses)Retrieves the balances of tokens owned by an address.
hashUserSubject(sub)

Return the hashed user subject

The subject, which part of the JWT token provided by the application to identify the user, is never stored in the database. Instead, the hashed subject is used to identify the user in the database.