Skip to main content

Starknet Support

In addition to Ethereum and EVM-compatible networks, multichain natively supports Starknet calls, enabling seamless queries across different blockchain networks.

import { StarkNet, type StarkNetType } from "./network";
import { starkCall } from "./starkCall";

There is no difference in the call, just make sure that both contract and abi match a Starknet contract:

// Contract is a Starknet Address
const contract = proxy.new({
chain: "starknet",
addr: new Address(
"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",
StarkNet
)
});
// Starknet ABI
const abi = proxy.new(...)
...
const value = local.call(contract, abi, method, args);