Skip to main content

Overview

Integrate Zenland escrows into your marketplace, platform, or dApp.

Read: Free

Query escrow states and data

Write: Gas

Create/manage escrows (or use NYKNYC)

Index: Events

Build real-time dashboards

Installation

NPM Package

Contract ABIs

Direct Import


Common Patterns

1. Predict Escrow Address

Before creating, predict the escrow address:

2. Create an Escrow

3. Read Escrow State

4. Execute Actions


Indexing Events

Using Ethers.js

Using The Graph

We’re working on a subgraph. Check back soon!

Using Ponder


Gas Optimization

For Your Users

Use Permit (EIP-2612)

Combine approval + creation in one transaction.

Batch Reads

Use multicall for reading multiple escrows.

For Your Backend


Account Abstraction (ERC-4337)

Want to sponsor gas for your users?

Contact Us

Want integration support? Reach out!

API Reference

Full API Reference

See complete function signatures →