xOracle
  • 🧙Welcome to xOracle
  • Protocol
    • ⚡Fast Pricefeed
    • 📥Cross-chain Message
    • 📘Glossary
    • 📂Resource
  • For Developers
    • 👉Getting Started
      • Request Fast Pricefeed
      • Sending cross-chain message
      • Operation Fee
    • ⚡Fast Pricefeed Contracts
    • 📥Cross-chain Message Contracts
    • 🔌xOracle API
    • ⌨️Examples
      • RequestPrices.sol
      • CrosschainERC20Token.sol
      • SimpleTrade.sol
  • xOracle Chain
    • ⛓️xOracle Mainnet
    • ⛓️xOracle Testnet
Powered by GitBook
On this page
  • Endpoints
  • Docs
  • Pricefeed APIs
  • Message APIs
  1. For Developers

xOracle API

PreviousCross-chain Message ContractsNextExamples

Last updated 10 months ago

Endpoints

Mainnet:

Testnet:

Docs

Mainnet:

Testnet:

Pricefeed APIs

Get Prices

Get Price by Node

Get Prices by Index

Get Pricefeed by Timestamp

Get Token Index Info

Get Node Info

Message APIs

Get Message by MessageHash

Get Message by Source tx hash

Get Message by Destination tx hash

Get Message by Nonce

Get Message Status

Get Signer NewMessage

Get Signer ReleaseMessage

Get Message Nonce

Get Support Networks

Get Message Stats

Get Threshold and Total Signers

Get MessageHash

Get ReleaseMessageHash

{index}

{timestamp}

{messageHash}

{txHash}

{txHash}

{chainId}/{nonce}

{messageHash}

{messageHash}/{signer}

{releaseMessageHash}/{signer}

{chainId}

🔌
Method: POST
{
  "nonce": number,
  "payload": string,
  "endpoint": string,
  "srcChainId": string,
  "dstChainId": string,
  "srcTxHash": string
}
Method: POST
{
  "nonce": number,
  "payload": string,
  "endpoint": string,
  "srcChainId": string,
  "dstChainId": string,
  "srcTxHash": string,
  "dstTxHash": string,
  "messageHash": string
}
https://api.xoracle.io
https://api-testnet.xoracle.io
https://api.xoracle.io/docs
https://api-testnet.xoracle.io/docs
https://api.xoracle.io/prices/xoracle
https://api.xoracle.io/prices/xoracle/node
https://api.xoracle.io/prices/xoracle/
https://api.xoracle.io/prices/pricefeed/
https://api.xoracle.io/prices/tokenIndexInfo
https://api.xoracle.io/prices/nodeInfo
https://api.xoracle.io/messages/getMessage/
https://api.xoracle.io/messages/getMessageBySrcTxHash/
https://api.xoracle.io/messages/getMessageByDstTxHash/
https://api.xoracle.io/messages/getMessageByNonce/
https://api.xoracle.io/messages/getStatus/
https://api.xoracle.io/messages/getSignerNewMessage/
https://api.xoracle.io/messages/getSignerReleaseMessage/
https://api.xoracle.io/messages/getNonce/
https://api.xoracle.io/messages/getNetworks
https://api.xoracle.io/messages/getStats
https://api.xoracle.io/messages/getThresholdAndTotalSigners
https://api.xoracle.io/messages/getMessageHash
https://api.xoracle.io/messages/getReleaseMessageHash