api_avm_credentials
avalanche › API-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:
Name | Type | Description |
---|---|---|
credid | number | A number representing the credential ID parsed prior to the bytes passed in |
...args | any[] | - |
Returns: Credential
An instance of an Credential-extended class.