Skip to content

IAddress

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

Address interface

checksum: () => Uint8Array

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

Uint8Array


optional id: bigint

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


optional namespace: number

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


network: Network

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


networkPrefix: NetworkPrefix

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


payload: Uint8Array

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


protocol: ProtocolIndicatorCode

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


to0x: (options) => Promise<string>

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

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:105

Uint8Array


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

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

`0x${string}`


toIdAddress: (options) => Promise<AddressId>

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

Convert to ID address

ParameterType
optionsAddressRpcOptions

Promise<AddressId>


toString: () => string

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

string