swagger.json

Overview

This file is an OpenAPI 3.0 specification document describing the RESTful HTTP API endpoints, request/response schemas, and metadata for the [@shapeshiftoss/base-api](/projects/291/68900) version 10.0.0. The API provides functionality primarily for interacting with an EVM-compatible blockchain coinstack, focusing on account information, transaction management, gas fee estimation, and token metadata retrieval.

The specification standardizes how clients can query blockchain data (accounts, transactions, token balances), send raw transactions, perform JSON-RPC calls, and fetch gas fee estimates. It encapsulates schema definitions for request and response payloads, error handling, and the structure of various blockchain entities such as accounts, tokens, and transactions.

This file serves as both a machine-readable API contract for client-server communication and human-readable documentation for developers integrating with this blockchain API.


Detailed Components

Schemas

Schemas define the structure of data objects used in requests or responses.

BaseInfo

TokenBalance

Account

BadRequestError

ValidationError

InternalServerError

TokenTransfer

InternalTx

Tx

BaseTxHistory_Tx_

TxHistory

SendTxBody

RPCRequest

RPCResponse

TokenMetadata

TokenType

BaseGasEstimate

EstimateGasBody

Fees

BaseGasFees


API Paths and Operations

1. Get Info


2. Get Account Details


3. Get Transaction History


4. Get Transaction Details


5. Send Transaction


6. JSON-RPC Request Proxy


7. Get Token Metadata


8. Estimate Gas Cost


9. Get Current Gas Fees


Important Implementation Details