src_utils
Module: src/utils
Index
References
- ASSETIDPayload
- AVAXGWEI
- AVAXSTAKECAP
- AddressError
- AddressIndexError
- AvalancheError
- B58STRPayload
- B64STRPayload
- BIGNUMPayload
- BINPayload
- BMPPayload
- Base58
- Base58Error
- Bech32Error
- BufferSizeError
- C
- CCHAINADDRPayload
- CChainAlias
- CChainVMName
- CENTIAVAX
- CHAINIDPayload
- CSVPayload
- ChainAddressPayload
- ChainIdError
- ChecksumError
- CodecIdError
- CredIdError
- DECIAVAX
- DefaultEVMLocalGenesisAddress
- DefaultEVMLocalGenesisPrivateKey
- DefaultLocalGenesisPrivateKey
- DefaultNetworkID
- Defaults
- DelegationFeeError
- EMAILPayload
- EVMFeeError
- EVMInputError
- EVMOutputError
- ErrorResponseObject
- FallbackEVMChainID
- FallbackHRP
- FallbackNetworkName
- FeeAssetError
- FujiAPI
- GWEI
- GooseEggCheckError
- HEXSTRPayload
- HRPToNetworkID
- HexError
- ICOPayload
- IPFSPayload
- InputIdError
- InsufficientFundsError
- InvalidEntropy
- InvalidOperationIdError
- JPEGPayload
- JSONPayload
- MAGNETPayload
- MICROAVAX
- MILLIAVAX
- MainnetAPI
- MaxWeightFormula
- MergeRule
- MergeRuleError
- NANOAVAX
- NFTIDPayload
- NODEIDPayload
- NameError
- Network
- NetworkIDToHRP
- NetworkIDToNetworkNames
- NetworkNameToNetworkID
- Networks
- NoAtomicUTXOsError
- NodeIDPrefix
- NodeIDStringToBuffer
- NodeIdError
- ONEAVAX
- ONIONPayload
- OperationError
- OutputIdError
- P
- PCHAINADDRPayload
- PChainAlias
- PChainVMName
- PNGPayload
- PayloadBase
- PayloadTypes
- PersistanceOptions
- PlatformChainID
- PrimaryAssetAlias
- PrimaryNetworkID
- PrivateKeyError
- PrivateKeyPrefix
- ProtocolError
- PublicKeyError
- SECPENCPayload
- SECPMintOutputError
- SECPSIGPayload
- SERIALIZATIONVERSION
- SUBNETIDPayload
- SVGPayload
- Serializable
- Serialization
- SerializedEncoding
- SerializedType
- StakeError
- SubnetIdError
- SubnetOwnerError
- SymbolError
- TXIDPayload
- ThresholdError
- TimeError
- TransactionError
- TransferableInputError
- TransferableOutputError
- TypeIdError
- TypeNameError
- URLPayload
- UTF8Payload
- UTXOError
- UTXOIDPayload
- UnixNow
- UnknownTypeError
- WEI
- X
- XCHAINADDRPayload
- XChainAlias
- XChainVMName
- YAMLPayload
- bufferToNodeIDString
- bufferToPrivateKeyString
- calcBytesCost
- cb58EncodedPayload
- costExportTx
- costImportTx
- getPreferredHRP
- mnemonic
- privateKeyStringToBuffer
Classes
- AddressError
- AddressIndexError
- AvalancheError
- Base58Error
- Bech32Error
- BufferSizeError
- ChainIdError
- ChecksumError
- CodecIdError
- CredIdError
- DelegationFeeError
- EVMFeeError
- EVMInputError
- EVMOutputError
- FeeAssetError
- GooseEggCheckError
- HexError
- InputIdError
- InsufficientFundsError
- InvalidEntropy
- InvalidOperationIdError
- MergeRuleError
- NameError
- NoAtomicUTXOsError
- NodeIdError
- OperationError
- OutputIdError
- PrivateKeyError
- ProtocolError
- PubSub
- PublicKeyError
- SECPMintOutputError
- StakeError
- SubnetIdError
- SubnetOwnerError
- SymbolError
- ThresholdError
- TimeError
- TransactionError
- TransferableInputError
- TransferableOutputError
- TypeIdError
- TypeNameError
- UTXOError
- UnknownTypeError
Interfaces
Variables
- ADDRESS_ERROR_CODE
- ADDRESS_INDEX_ERROR_CODE
- BASE58_ERROR_CODE
- BECH32_ERROR_CODE
- BUFFER_SIZE_ERROR_CODE
- CHAIN_ID_ERROR_CODE
- CHECKSUM_ERROR_CODE
- CODEC_ID_ERROR_CODE
- CRED_ID_ERROR_CODE
- DELEGATION_FEE_ERROR_CODE
- EVM_FEE_ERROR_CODE
- EVM_INPUT_ERROR_CODE
- EVM_OUTPUT_ERROR_CODE
- FEE_ASSET_ERROR_CODE
- GOOSE_EGG_CHECK_ERROR_CODE
- HEX_ERROR_CODE
- INPUT_ID_ERROR_CODE
- INSUFFICIENT_FUNDS_ERROR_CODE
- INVALID_ENTROPY
- INVALID_OPERATION_ID_CODE
- MERGE_RULE_ERROR_CODE
- NAME_ERROR_CODE
- NODE_ID_ERROR_CODE
- NO_ATOMIX_UTXOS_ERROR_CODE
- OPERATION_ERROR_CODE
- OUTPUT_ID_ERROR_CODE
- PRIVATE_KEY_ERROR_CODE
- PROTOCOL_ERROR_CODE
- PUBLIC_KEY_ERROR_CODE
- SECP_MINT_OUTPUT_ERROR_CODE
- STAKE_ERROR_CODE
- SUBNET_ID_ERROR_CODE
- SUBNET_OWNER_ERROR_CODE
- SYMBOL_ERROR_CODE
- THRESHOLD_ERROR_CODE
- TIME_ERROR_CODE
- TRANSACTION_ERROR_CODE
- TRANSFERABLE_INPUT_ERROR_CODE
- TRANSFERABLE_OUTPUT_ERROR_CODE
- TYPE_ID_ERROR_CODE
- TYPE_NAME_ERROR_CODE
- UNKNOWN_TYPE_ERROR_CODE
- UTXO_ERROR_CODE
References
ASSETIDPayload
• ASSETIDPayload:
AVAXGWEI
• AVAXGWEI:
AVAXSTAKECAP
• AVAXSTAKECAP:
AddressError
• AddressError:
AddressIndexError
• AddressIndexError:
AvalancheError
• AvalancheError:
B58STRPayload
• B58STRPayload:
B64STRPayload
• B64STRPayload:
BIGNUMPayload
• BIGNUMPayload:
BINPayload
• BINPayload:
BMPPayload
• BMPPayload:
Base58
• Base58:
Base58Error
• Base58Error:
Bech32Error
• Bech32Error:
BufferSizeError
• BufferSizeError:
C
• C:
CCHAINADDRPayload
• CCHAINADDRPayload:
CChainAlias
• CChainAlias:
CChainVMName
• CChainVMName:
CENTIAVAX
• CENTIAVAX:
CHAINIDPayload
• CHAINIDPayload:
CSVPayload
• CSVPayload:
ChainAddressPayload
• ChainAddressPayload:
ChainIdError
• ChainIdError:
ChecksumError
• ChecksumError:
CodecIdError
• CodecIdError:
CredIdError
• CredIdError:
DECIAVAX
• DECIAVAX:
DefaultEVMLocalGenesisAddress
• DefaultEVMLocalGenesisAddress:
DefaultEVMLocalGenesisPrivateKey
• DefaultEVMLocalGenesisPrivateKey:
DefaultLocalGenesisPrivateKey
• DefaultLocalGenesisPrivateKey:
DefaultNetworkID
• DefaultNetworkID:
Defaults
• Defaults:
DelegationFeeError
• DelegationFeeError:
EMAILPayload
• EMAILPayload:
EVMFeeError
• EVMFeeError:
EVMInputError
• EVMInputError:
EVMOutputError
• EVMOutputError:
ErrorResponseObject
• ErrorResponseObject:
FallbackEVMChainID
• FallbackEVMChainID:
FallbackHRP
• FallbackHRP:
FallbackNetworkName
• FallbackNetworkName:
FeeAssetError
• FeeAssetError:
FujiAPI
• FujiAPI:
GWEI
• GWEI:
GooseEggCheckError
• GooseEggCheckError:
HEXSTRPayload
• HEXSTRPayload:
HRPToNetworkID
• HRPToNetworkID:
HexError
• HexError:
ICOPayload
• ICOPayload:
IPFSPayload
• IPFSPayload:
InputIdError
• InputIdError:
InsufficientFundsError
• InsufficientFundsError:
InvalidEntropy
• InvalidEntropy:
InvalidOperationIdError
• InvalidOperationIdError:
JPEGPayload
• JPEGPayload:
JSONPayload
• JSONPayload:
MAGNETPayload
• MAGNETPayload:
MICROAVAX
• MICROAVAX:
MILLIAVAX
• MILLIAVAX:
MainnetAPI
• MainnetAPI:
MaxWeightFormula
• MaxWeightFormula:
MergeRule
• MergeRule:
MergeRuleError
• MergeRuleError:
NANOAVAX
• NANOAVAX:
NFTIDPayload
• NFTIDPayload:
NODEIDPayload
• NODEIDPayload:
NameError
• NameError:
Network
• Network:
NetworkIDToHRP
• NetworkIDToHRP:
NetworkIDToNetworkNames
• NetworkIDToNetworkNames:
NetworkNameToNetworkID
• NetworkNameToNetworkID:
Networks
• Networks:
NoAtomicUTXOsError
• NoAtomicUTXOsError:
NodeIDPrefix
• NodeIDPrefix:
NodeIDStringToBuffer
• NodeIDStringToBuffer:
NodeIdError
• NodeIdError:
ONEAVAX
• ONEAVAX:
ONIONPayload
• ONIONPayload:
OperationError
• OperationError:
OutputIdError
• OutputIdError:
P
• P:
PCHAINADDRPayload
• PCHAINADDRPayload:
PChainAlias
• PChainAlias:
PChainVMName
• PChainVMName:
PNGPayload
• PNGPayload:
PayloadBase
• PayloadBase:
PayloadTypes
• PayloadTypes:
PersistanceOptions
• PersistanceOptions:
PlatformChainID
• PlatformChainID:
PrimaryAssetAlias
• PrimaryAssetAlias:
PrimaryNetworkID
• PrimaryNetworkID:
PrivateKeyError
• PrivateKeyError:
PrivateKeyPrefix
• PrivateKeyPrefix:
ProtocolError
• ProtocolError:
PublicKeyError
• PublicKeyError:
SECPENCPayload
• SECPENCPayload:
SECPMintOutputError
• SECPMintOutputError:
SECPSIGPayload
• SECPSIGPayload:
SERIALIZATIONVERSION
• SERIALIZATIONVERSION:
SUBNETIDPayload
• SUBNETIDPayload:
SVGPayload
• SVGPayload:
Serializable
• Serializable:
Serialization
• Serialization:
SerializedEncoding
• SerializedEncoding:
SerializedType
• SerializedType:
StakeError
• StakeError:
SubnetIdError
• SubnetIdError:
SubnetOwnerError
• SubnetOwnerError:
SymbolError
• SymbolError:
TXIDPayload
• TXIDPayload:
ThresholdError
• ThresholdError:
TimeError
• TimeError:
TransactionError
• TransactionError:
TransferableInputError
• TransferableInputError:
TransferableOutputError
• TransferableOutputError:
TypeIdError
• TypeIdError:
TypeNameError
• TypeNameError:
URLPayload
• URLPayload:
UTF8Payload
• UTF8Payload:
UTXOError
• UTXOError:
UTXOIDPayload
• UTXOIDPayload:
UnixNow
• UnixNow:
UnknownTypeError
• UnknownTypeError:
WEI
• WEI:
X
• X:
XCHAINADDRPayload
• XCHAINADDRPayload:
XChainAlias
• XChainAlias:
XChainVMName
• XChainVMName:
YAMLPayload
• YAMLPayload:
bufferToNodeIDString
• bufferToNodeIDString:
bufferToPrivateKeyString
• bufferToPrivateKeyString:
calcBytesCost
• calcBytesCost:
cb58EncodedPayload
• cb58EncodedPayload:
costExportTx
• costExportTx:
costImportTx
• costImportTx:
getPreferredHRP
• getPreferredHRP:
mnemonic
• mnemonic:
privateKeyStringToBuffer
• privateKeyStringToBuffer:
Variables
Const
ADDRESS_ERROR_CODE
• ADDRESS_ERROR_CODE: string = "1000"
Defined in src/utils/errors.ts:1
Const
ADDRESS_INDEX_ERROR_CODE
• ADDRESS_INDEX_ERROR_CODE: string = "1028"
Defined in src/utils/errors.ts:29
Const
BASE58_ERROR_CODE
• BASE58_ERROR_CODE: string = "1031"
Defined in src/utils/errors.ts:32
Const
BECH32_ERROR_CODE
• BECH32_ERROR_CODE: string = "1037"
Defined in src/utils/errors.ts:38
Const
BUFFER_SIZE_ERROR_CODE
• BUFFER_SIZE_ERROR_CODE: string = "1027"
Defined in src/utils/errors.ts:28
Const
CHAIN_ID_ERROR_CODE
• CHAIN_ID_ERROR_CODE: string = "1002"
Defined in src/utils/errors.ts:3
Const
CHECKSUM_ERROR_CODE
• CHECKSUM_ERROR_CODE: string = "1014"
Defined in src/utils/errors.ts:15
Const
CODEC_ID_ERROR_CODE
• CODEC_ID_ERROR_CODE: string = "1007"
Defined in src/utils/errors.ts:8
Const
CRED_ID_ERROR_CODE
• CRED_ID_ERROR_CODE: string = "1008"
Defined in src/utils/errors.ts:9
Const
DELEGATION_FEE_ERROR_CODE
• DELEGATION_FEE_ERROR_CODE: string = "1025"
Defined in src/utils/errors.ts:26
Const
EVM_FEE_ERROR_CODE
• EVM_FEE_ERROR_CODE: string = "1038"
Defined in src/utils/errors.ts:39
Const
EVM_INPUT_ERROR_CODE
• EVM_INPUT_ERROR_CODE: string = "1020"
Defined in src/utils/errors.ts:21
Const
EVM_OUTPUT_ERROR_CODE
• EVM_OUTPUT_ERROR_CODE: string = "1021"
Defined in src/utils/errors.ts:22
Const
FEE_ASSET_ERROR_CODE
• FEE_ASSET_ERROR_CODE: string = "1022"
Defined in src/utils/errors.ts:23
Const
GOOSE_EGG_CHECK_ERROR_CODE
• GOOSE_EGG_CHECK_ERROR_CODE: string = "1001"
Defined in src/utils/errors.ts:2
Const
HEX_ERROR_CODE
• HEX_ERROR_CODE: string = "1034"
Defined in src/utils/errors.ts:35
Const
INPUT_ID_ERROR_CODE
• INPUT_ID_ERROR_CODE: string = "1011"
Defined in src/utils/errors.ts:12
Const
INSUFFICIENT_FUNDS_ERROR_CODE
• INSUFFICIENT_FUNDS_ERROR_CODE: string = "1017"
Defined in src/utils/errors.ts:18
Const
INVALID_ENTROPY
• INVALID_ENTROPY: string = "1039"
Defined in src/utils/errors.ts:40
Const
INVALID_OPERATION_ID_CODE
• INVALID_OPERATION_ID_CODE: string = "1013"
Defined in src/utils/errors.ts:14
Const
MERGE_RULE_ERROR_CODE
• MERGE_RULE_ERROR_CODE: string = "1030"
Defined in src/utils/errors.ts:31
Const
NAME_ERROR_CODE
• NAME_ERROR_CODE: string = "1005"
Defined in src/utils/errors.ts:6
Const
NODE_ID_ERROR_CODE
• NODE_ID_ERROR_CODE: string = "1033"
Defined in src/utils/errors.ts:34
Const
NO_ATOMIX_UTXOS_ERROR_CODE
• NO_ATOMIX_UTXOS_ERROR_CODE: string = "1003"
Defined in src/utils/errors.ts:4
Const
OPERATION_ERROR_CODE
• OPERATION_ERROR_CODE: string = "1012"
Defined in src/utils/errors.ts:13
Const
OUTPUT_ID_ERROR_CODE
• OUTPUT_ID_ERROR_CODE: string = "1015"
Defined in src/utils/errors.ts:16
Const
PRIVATE_KEY_ERROR_CODE
• PRIVATE_KEY_ERROR_CODE: string = "1032"
Defined in src/utils/errors.ts:33
Const
PROTOCOL_ERROR_CODE
• PROTOCOL_ERROR_CODE: string = "1040"
Defined in src/utils/errors.ts:41
Const
PUBLIC_KEY_ERROR_CODE
• PUBLIC_KEY_ERROR_CODE: string = "1029"
Defined in src/utils/errors.ts:30
Const
SECP_MINT_OUTPUT_ERROR_CODE
• SECP_MINT_OUTPUT_ERROR_CODE: string = "1019"
Defined in src/utils/errors.ts:20
Const
STAKE_ERROR_CODE
• STAKE_ERROR_CODE: string = "1023"
Defined in src/utils/errors.ts:24
Const
SUBNET_ID_ERROR_CODE
• SUBNET_ID_ERROR_CODE: string = "1041"
Defined in src/utils/errors.ts:42
Const
SUBNET_OWNER_ERROR_CODE
• SUBNET_OWNER_ERROR_CODE: string = "1026"
Defined in src/utils/errors.ts:27
Const
SYMBOL_ERROR_CODE
• SYMBOL_ERROR_CODE: string = "1004"
Defined in src/utils/errors.ts:5
Const
THRESHOLD_ERROR_CODE
• THRESHOLD_ERROR_CODE: string = "1018"
Defined in src/utils/errors.ts:19
Const
TIME_ERROR_CODE
• TIME_ERROR_CODE: string = "1024"
Defined in src/utils/errors.ts:25
Const
TRANSACTION_ERROR_CODE
• TRANSACTION_ERROR_CODE: string = "1006"
Defined in src/utils/errors.ts:7
Const
TRANSFERABLE_INPUT_ERROR_CODE
• TRANSFERABLE_INPUT_ERROR_CODE: string = "1010"
Defined in src/utils/errors.ts:11
Const
TRANSFERABLE_OUTPUT_ERROR_CODE
• TRANSFERABLE_OUTPUT_ERROR_CODE: string = "1009"
Defined in src/utils/errors.ts:10
Const
TYPE_ID_ERROR_CODE
• TYPE_ID_ERROR_CODE: string = "1035"
Defined in src/utils/errors.ts:36
Const
TYPE_NAME_ERROR_CODE
• TYPE_NAME_ERROR_CODE: string = "1042"
Defined in src/utils/errors.ts:43
Const
UNKNOWN_TYPE_ERROR_CODE
• UNKNOWN_TYPE_ERROR_CODE: string = "1036"
Defined in src/utils/errors.ts:37
Const
UTXO_ERROR_CODE
• UTXO_ERROR_CODE: string = "1016"
Defined in src/utils/errors.ts:17