Skip to content

IAddress

Defined in: packages/iso-filecoin/src/types.ts:96

Address interface

checksum: () => Uint8Array

Defined in: packages/iso-filecoin/src/types.ts:103

Uint8Array


optional id: bigint

Defined in: packages/iso-filecoin/src/types.ts:102


optional namespace: number

Defined in: packages/iso-filecoin/src/types.ts:101


network: Network

Defined in: packages/iso-filecoin/src/types.ts:99


networkPrefix: NetworkPrefix

Defined in: packages/iso-filecoin/src/types.ts:100


payload: Uint8Array

Defined in: packages/iso-filecoin/src/types.ts:98


protocol: ProtocolIndicatorCode

Defined in: packages/iso-filecoin/src/types.ts:97


to0x: (options) => Promise<string>

Defined in: packages/iso-filecoin/src/types.ts:116

Converts any address to a 0x address, either id masked address or eth address depending on the address type. Delegated addresses convert to eth address and f1, f2, f3 convert to id masked address and f0 depends on the underline address type

ParameterType
optionsAddressRpcOptions

Promise<string>


toBytes: () => Uint8Array

Defined in: packages/iso-filecoin/src/types.ts:106

Uint8Array


toContractDestination: () => `0x${string}`

Defined in: packages/iso-filecoin/src/types.ts:104

`0x${string}`


toIdAddress: (options) => Promise<AddressId>

Defined in: packages/iso-filecoin/src/types.ts:110

Convert to ID address

ParameterType
optionsAddressRpcOptions

Promise<AddressId>


toString: () => string

Defined in: packages/iso-filecoin/src/types.ts:105

string