Skip to content
One platform. From customer conversation to completed work.Take a closer look
All connections
Developer ยท CONNECTION

1Shot API + NodeHub

Read chains, simulate and read smart contract methods, define contract events, and track transactions, wallets and webhooks with the 1Shot API Dev Platform.

Explore 46 workflow actions for 1Shot API, including account permissions and operation limits.

25 read actions21 write actions
WORKFLOW ACTIONS

What you can configure.

Choose an action in the workflow builder, connect an account, and map its inputs. These actions are available in the catalog; your account access and a successful test determine whether they work for your setup.

Add struct param

Write

Add a param to a Solidity struct.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Check contract address

Read

Check whether an address holds contract code on a chain, and its EIP-7702 delegate.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

Create contract event

Write

Define a contract event to read logs for.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Create contract method

Write

Create a contract method (an endpoint for one contract function).

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Create methods from prompt

Write

Make sure contract methods exist for a 1Shot prompt's verified contract.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Create wallet

Write

Create a server wallet on a chain.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Create webhook endpoint

Write

Add a destination URL for signed webhooks.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Create webhook trigger

Write

Fire an endpoint for chosen events and contract methods.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Delete contract event

Write

Delete a contract event definition.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Delete contract method

Write

Delete a contract method.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Delete webhook endpoint

Write

Delete a webhook endpoint.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Delete webhook trigger

Write

Delete a webhook trigger.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Encode contract method

Read

Encode a contract method's call data as hex.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

Estimate contract method

Read

Estimate a contract method's gas and fees.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

Get chain fees

Read

Read a chain's current gas fees and fee history.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

Get contract event

Read

Read a contract event definition.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

Get contract method

Read

Read a contract method.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

Get transaction

Read

Read a transaction's status, hash, gas and logs.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

Get wallet

Read

Read a wallet, with balances when asked.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

Get webhook endpoint

Read

Read a webhook endpoint and its public key.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

Import contract ABI

Write

Create a contract method for each function in an ABI.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

List chains

Read

List the chains 1Shot supports.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

List contract events

Read

List the business's contract event definitions.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

List contract methods

Read

List the business's contract methods, by chain, name, status, contract, prompt or type.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

List delegations

Read

List a wallet's delegations.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

List endpoint webhooks

Read

List the webhooks generated for an endpoint.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

List transactions

Read

List the business's transactions by chain, status, wallet, method, memo and dates.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

List wallets

Read

List the business's server wallets.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

List webhook attempts

Read

List a webhook's delivery attempts.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

List webhook endpoints

Read

List the business's webhook endpoints.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

List webhook events

Read

List the event names webhooks can fire on.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

List webhook triggers

Read

List the business's webhook triggers.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

List x402 kinds

Read

List the x402 payment kinds the facilitator supports.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

Read contract method

Read

Call a view or pure function and return its result (no transaction).

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

Remove struct param

Write

Remove a param from a Solidity struct.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Rotate webhook endpoint key

Write

Rotate an endpoint's signing key; the new public key is returned.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Search event logs

Read

Read a contract event's logs between blocks, filtered by topics.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

Search prompts

Read

Search 1Shot prompts for the contracts that fit a description.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

Simulate contract method

Read

Simulate a contract method; nothing is sent on chain and no gas is spent.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

Update contract event

Write

Rename or describe a contract event definition.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Update contract method

Write

Update a contract method's chain, contract, wallet, name, function or callback.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Update struct

Write

Rename a Solidity struct.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Update struct params

Write

Update a Solidity struct's params together.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Update wallet

Write

Rename a wallet or change its description or low-balance alert.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Update webhook endpoint

Write

Rename or describe a webhook endpoint.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

Update webhook trigger

Write

Change a webhook trigger's endpoint, events, methods or name.

Permissions and limits

Account permissions

  • A 1Shot API key and secret for the business

A repeated request may repeat the external action. Review the previous result before retrying a write.

SETUP

Start with a controlled test.

01Connect the intended account

Use the account and permissions required for your process. Review the connection check before configuring a workflow action.

02Review inputs and access

Select a listed operation and map its required inputs. Use test records and add a human approval before writes that need review.

03Confirm the result

Inspect step outputs and confirm the result in 1Shot API. A saved workflow is not a completed provider action.

Follow the workflow quickstart
EXPLORE YOUR STACK

More in Developer.

1Shot API integration | NodeHub