Skip to main content

api_avm_credentials

avalancheAPI-AVM-Credentials

Module: API-AVM-Credentials

Index

Classes

Functions

Functions

Const SelectCredentialClass

SelectCredentialClass(credid: number, ...args: any[]): Credential

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

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

Parameters:

NameTypeDescription
credidnumberA number representing the credential ID parsed prior to the bytes passed in
...argsany[]-

Returns: Credential

An instance of an Credential-extended class.