Check out the sdk quickstart guide for help setting up your client.

Usage

Returns

IUpgradePath | null

type IUpgradePath = {
    id: string
    baseImpl: Address
    upgradeImpl: Address
    blockNumber?: bigint
    blockTimestamp?: bigint
}

Parameters

address

  • type: string

The target channel address.

const data = await downlinkClient.getOptimalUpgradePath({
    address: '0x1234567890123456789012345678901234567890',
})