Skip to content

Index

Filecoin address

ClassDescription
AddressActorActor Address f2..
AddressBLSBLS Address f3..
AddressDelegatedDelegated address f4..
AddressIdID Address f0..
AddressSecp256k1Secp256k1 address f1..
InterfaceDescription
IAddressAddress interface
Type AliasDescription
Value-
VariableDescription
PROTOCOL_INDICATORProtocol indicator
FunctionDescription
from-
fromBytesCreate address from bytes
fromContractDestinationCreate an Address instance from a 0x-prefixed hex string address returned by Address.toContractDestination().
fromEthAddressAddress from Ethereum address
fromPublicKeyCreate address from public key bytes Only for f1 SECP256K1 and f3 BLS
fromStringAddress from string
isAddressAsserts that the given value is an IAddress instance.
isAddressBlsCheck if object is a AddressBLS instance
isAddressDelegatedCheck if object is a AddressDelegated instance
isAddressIdCheck if object is a AddressId instance
isAddressSecp256k1Check if object is a AddressSecp256k1 instance
isEthAddressCheck if string is valid Ethereum address
isIdMaskAddressChecks if address is an Ethereum ID mask address
toEthAddressEthereum address from f0 or f4 addresses

Re-exports checksumEthAddress