OffBlocks
  • πŸ‘‹Welcome to OffBlocks
  • Overview
    • πŸ’‘What we do
    • ✨Core Concepts
    • πŸ“œWhitepaper
    • ⛓️Supported Blockchains and Assets
    • ❔FAQ
  • Developer Guides
    • πŸ—οΈSystem Architecture
    • βš™οΈAPI Integration
      • πŸš€Getting Started
      • πŸ“―Postman
      • πŸ”‘Authentication
      • πŸ”Request Signatures
      • πŸ†”Idempotency
      • ⛓️Blockchain Identifiers
      • πŸ“’Blockchain Updates
      • πŸ“²Sign in With X
      • πŸ’°Fees
      • πŸ•ΉοΈSimulator
      • πŸ”’API Reference
        • πŸ¦Έβ€β™‚οΈCustomers
        • 🏦Accounts
        • πŸ’³Cards
        • πŸ”ƒTransactions
        • πŸͺWebhooks
        • πŸ•ΉοΈSimulator
        • πŸš‚Engine
      • ⏭️States and Transitions
        • πŸ¦Έβ€β™‚οΈCustomer States
        • 🏦Account States
        • πŸ’³Card States
        • πŸ”‘Authorisation States
        • πŸ”ƒTransaction States
    • 🧬Smart Contracts
      • OffBlocksEscrow.sol
      • OffBlocksSmartWalletFactory.sol
      • OffBlocksSmartWallet.sol
      • PendingWithdrawal.sol
      • Interfaces
    • πŸ”’Step-by-step Guide
      • 1️⃣API Credentials
      • 2️⃣Authentication
      • 3️⃣Request Preparation
      • 4️⃣Customer Creation
      • 5️⃣Customer Verification
      • 6️⃣Account Creation
      • 7️⃣Card Issuance
      • 8️⃣Card Authorisations
      • 9️⃣Webhooks
  • Use Cases
    • πŸ’°Wallet Providers
    • πŸ§‘β€πŸŒΎDeFi Apps
    • 🏦Neo-banks and FinTechs
Powered by GitBook
On this page
  1. Developer Guides
  2. API Integration
  3. API Reference

Engine

PreviousSimulatorNextStates and Transitions

Last updated 1 year ago

Supported Blockchains

To retrieve a list of supported blockchains, make a GET requests to /chains.

For more information on supported blockchains and their status please refer to Supported Blockchains and Assets.

Supported Assets

To retrieve a list of supported assets, make a GET requests to /assets.

For more information on supported assets and their status please refer to Supported Blockchains and Assets.

This list contains names and compliant chain IDs for all blockchains currently supported by this API instance. Normally, for Sandbox environment this will include all supported testnets and devnets, while for Production this includes mainnets.

This list contains names, symbols and compliant asset IDs for all assets currently supported by this API instance. Normally, for Sandbox environment this will include all supported assets on testnets and devnets, while for Production this includes assets on mainnets.

βš™οΈ
πŸ”’
πŸš‚
CAIP-2
CAIP-19

Retrieve supported blockchains

get

Retrieves supported blockchains

Authorizations
Header parameters
SignaturestringRequired

HTTP message signature

Signature-InputstringRequired

HTTP message signature input

Responses
200
Successful operation
application/json
400
Invalid request
401
Not authorised
500
Internal error
get
GET /v1/chains HTTP/1.1
Host: api.offblocks.xyz
Authorization: Bearer JWT
Signature: text
Signature-Input: text
Accept: */*
[
  {
    "id": "eip155:1",
    "name": "Ethereum"
  }
]

Retrieve supported assets

get

Retrieves supported assets

Authorizations
Query parameters
chainstringOptional

Optional filter by blockchain

Example: eip155:1
Header parameters
SignaturestringRequired

HTTP message signature

Signature-InputstringRequired

HTTP message signature input

Responses
200
Successful operation
application/json
400
Invalid request
401
Not authorised
500
Internal error
get
GET /v1/assets HTTP/1.1
Host: api.offblocks.xyz
Authorization: Bearer JWT
Signature: text
Signature-Input: text
Accept: */*
[
  {
    "id": "eip155:1/erc20:0x6b175474e89094c44da98b954eedeac495271d0f",
    "blockchain": "eip155:1",
    "name": "Ethereum",
    "symbol": "ETH"
  }
]
  • Supported Blockchains
  • GETRetrieve supported blockchains
  • Supported Assets
  • GETRetrieve supported assets