# 1Shot API Documentation

This is the complete API documentation for connecting to the 1Shot API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **1Shot connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/oneShot/actions/{actionSlug}/run
```

## 1Shot actions

- POST `create-contract-event` Create Contract Event
- POST `create-contract-method` Create Contract Method
- POST `create-delegation` Create Delegation
- POST `create-wallet` Create Wallet
- GET `encode-contract-method` Encode Contract Method
- GET `estimate-contract-method` Estimate Contract Method
- POST `execute-contract-method` Execute Contract Method
- GET `get-chain-fees` Get Chain Fees
- GET `get-contract-event` Get Contract Event
- GET `get-contract-method` Get Contract Method
- GET `get-transaction` Get Transaction
- GET `get-wallet` Get Wallet
- GET `inspect-contract` Inspect Contract
- GET `list-chains` List Chains
- GET `list-contract-events` List Contract Events
- GET `list-contract-methods` List Contract Methods
- GET `list-delegations` List Delegations
- GET `list-transactions` List Transactions
- GET `list-wallets` List Wallets
- GET `list-webhook-endpoints` List Webhook Endpoints
- GET `list-webhook-triggers` List Webhook Triggers
- GET `search-contract-event-logs` Search Contract Event Logs
- GET `test-contract-method` Test Contract Method
- POST `transfer-native-token` Transfer Native Token
