From the dashboard
The Bring Your Own ABI feature lets you import a contract’s ABI and interact with it directly from the dashboard — no code required.Import a contract
Import your ABI
Click Import Smart Contract and fill in:
Click Import to save.
| Field | Description |
|---|---|
| Contract name | A label for this contract (lowercase, alphanumeric, hyphens) |
| Contract address | The on-chain address of the deployed contract |
| Network | The EVM network the contract is deployed on |
| Description | Optional description |
| ABI | The contract’s ABI in JSON format — upload a file or paste it directly |
Importing and deleting contracts is subject to your organization’s policies. If a policy applies, the action will require approval before it takes effect.
Read from a contract
Open your imported contract and go to the Read tab. Select a function, fill in any required inputs, and click Query. The result displays immediately — no wallet or gas needed.Write to a contract
Go to the Write tab. Select a function, fill in the inputs, and connect a wallet on the same network as the contract. Review the confirmation dialog carefully, then submit. The transaction is signed by your Dfns wallet, broadcast to the network, and its status is tracked in the dashboard.Write transactions go through your wallet’s policies. If a policy applies, the transaction will require approval before it is broadcast.
From the API
Read-only calls
Use the Call Function endpoint to queryview or pure functions. No wallet or signing is required.
State-mutating calls
Use the Sign & Broadcast Transaction endpoint withkind: FunctionCall. This signs the transaction with the specified wallet and broadcasts it to the network.
abi field takes a single function definition (not the entire contract ABI). The calldata field maps input names to values.
