Skip to content

fromContractDestination

function fromContractDestination(address: `0x${string}`, network: Network): IAddress

Defined in: packages/iso-filecoin/src/address.js:294

Create an Address instance from a 0x-prefixed hex string address returned by Address.toContractDestination().

Parameters

ParameterTypeDescription
address`0x${string}`The 0x-prefixed hex string address.
networkNetworkThe network the address is on.

Returns

IAddress