Skip to main content

api_evm_credentials

avalancheAPI-EVM-Credentials

Module: API-EVM-Credentials

Index

Classes

Functions

Functions

Const SelectCredentialClass

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

Defined in src/apis/evm/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.