Quai Vision

Contracts

Connect to contracts and interact with their methods

Connect to Contract
Enter a contract address and ABI to interact with it
Not connected

Pre-filled with standard ERC-20 ABI for demonstration

SDK Code Example
How to interact with contracts using the Quais SDK
import { Contract, JsonRpcProvider } from 'quais';

// Connect to provider
const provider = new JsonRpcProvider(
  'https://rpc.quai.network'
);

// Create contract instance
const contract = new Contract(
  contractAddress,
  abi,
  provider
);

// Call read method
const symbol = await contract.symbol();