Quick Start

Chains

4min

Introduction

The Chain type describes the supported chains and must be defined in the metadata for BlockchainAction or TransferAction to execute properly. This is critical because if you try to execute a function from a contract on Avalanche but specify Celo as Chain, the transaction will not fail at the source chain, but it will fail when trying to execute on Celo since the function will not exist there.

Chain Type

The Chain type has the following definition

TypeScript


Chain Context

TypeScript


Example

TypeScript