

Welcome to 1Shot API!#
The 1Shot API is the first fully managed, enterprise-grade hot wallet and transaction service for the Ethereum mainnet and L2 ecosystem (Binance and Avalanche supported as well). It provides a simple REST API to trigger state-changing smart contract transactions on a target blockchain network with a single POST call.
1Shot API is not an RPC provider, but an abstraction layer on top of typical RPC providers (like Infura or Alchemy). In fact, depending on your use case you may not even need an RPC provider as we handle the full transaction lifecycle with real-time webhook callbacks on the final state of your transactions. 1Shot API allows you to read from and write to smart contracts without the need of importing web3 clients like viem or ethers.js into your source code. This lets you focus on the logic specific to your application while 1Shot API handles the complexities of data types, contract ABIs, signers and private key security, and nonce cohesion for you.
The 1Shot API service is designed to handle heavy user traffic. If your product has many users generating onchain actions all at once, 1Shot API ensures all of your transactions will make it to the chain quickly and gas efficiently. 1Shot API greatly simplifies the technical overhead of adding digital assets or on-chain logic to any application, bot, or agent, regardless of the language your application is written in.
Several helpful client sdks for popular languages like Python, Typescript are available so you can one shot your next app in no time, leaving the complexities of transaction submission and monitoring to us.
Onchain Automation#
1Shot API is the best place to start for automating onchain workflows. We have integrations with the most popular automation platforms including:
1Shot Prompts#
The 1Shot API lets AI agent developers consume smart contracts and their functions as fully annotated tools that can be consumed by any agent programming framework. You can find and publish smart contract tool prompts to 1Shot Prompts. This provides detailed prompts for the contract, function, input and output parameter level which allow LLMs to better reason about how to plan transaction execution chains and what to expect from the behavior of a transaction before planning or execution.
Getting Started#
Make a free 1Shot API account at app.1shotapi.com. Here are the core features you will use to get started with the 1Shot API:
Create a business, add team members, and manage billing.
Provision and fund 1Shot API wallets for submitting transactions.
Read from and write to smart contracts by importing their methods into your businessโs API.
Use your API key and secret to trigger transactions from your application.