PiDualTx

PiDualTx API Documentation

Overview

This document describes the REST API endpoints provided by PiDualTx backend services:


AI Service API

POST /predict

Predict the future Pi price based on historical data.

Request

Response

Errors


Rate Service API

GET /api/rates

Retrieve current Pi price rates.

Response


Smartcontract Service API

POST /api/transactions/execute

Execute a transaction via the PiDualTx smart contract.

Request

Response

Errors

GET /api/transactions/{user}

Retrieve transaction history for a specified user address.

Response


Notes


This document is subject to update as the PiDualTx platform evolves.