Index
Filecoin address
Classes
Section titled “Classes”| Class | Description |
|---|---|
| AddressActor | Actor Address f2.. |
| AddressBLS | BLS Address f3.. |
| AddressDelegated | Delegated address f4.. |
| AddressId | ID Address f0.. |
| AddressSecp256k1 | Secp256k1 address f1.. |
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| IAddress | Address interface |
Type Aliases
Section titled “Type Aliases”| Type Alias | Description |
|---|---|
| Value | - |
Variables
Section titled “Variables”| Variable | Description |
|---|---|
| PROTOCOL_INDICATOR | Protocol indicator |
Functions
Section titled “Functions”| Function | Description |
|---|---|
| from | - |
| fromBytes | Create address from bytes |
| fromContractDestination | Create an Address instance from a 0x-prefixed hex string address returned by Address.toContractDestination(). |
| fromEthAddress | Address from Ethereum address |
| fromPublicKey | Create address from public key bytes Only for f1 SECP256K1 and f3 BLS |
| fromString | Address from string |
| isAddress | Asserts that the given value is an IAddress instance. |
| isAddressBls | Check if object is a AddressBLS instance |
| isAddressDelegated | Check if object is a AddressDelegated instance |
| isAddressId | Check if object is a AddressId instance |
| isAddressSecp256k1 | Check if object is a AddressSecp256k1 instance |
| isEthAddress | Check if string is valid Ethereum address |
| isIdMaskAddress | Checks if address is an Ethereum ID mask address |
| toEthAddress | Ethereum address from f0 or f4 addresses |
References
Section titled “References”checksumEthAddress
Section titled “checksumEthAddress”Re-exports checksumEthAddress