avalancheAVMAPI-Credentials

Module: AVMAPI-Credentials

Index

Classes

Functions

Functions

Const SelectCredentialClass

SelectCredentialClass(credid: number, …args: Array‹any›): Credential

Defined in src/apis/avm/credentials.ts:22

Takes a buffer representing the credential and returns the proper Credential instance.

Parameters:

Name Type Description
credid number A number representing the credential ID parsed prior to the bytes passed in
...args Array‹any› -

Returns: Credential

An instance of an Credential-extended class.