Quick Start

Chain

3min

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


Example

TypeScript




Updated 30 Jan 2025
Doc contributor
Did this page help you?