REST API reference for the Pantos Service Node.
Last updated 5 months ago
Id of a transfer submitted to the service node
GET /transfer/{task_id}/status HTTP/1.1 Host: sn1.testnet.pantos.io Accept: */*
Object containing the status of a transfer with the given task ID
{ "task_id": "text", "source_blockchain_id": null, "destination_blockchain_id": null, "sender_address": "text", "recipient_address": "text", "source_token_address": "text", "destination_token_address": "text", "amount": 1, "fee": 1, "status": "text", "transfer_id": "text", "transaction_id": "text" }
Numeric ID of the supported Blockchain ID
0
1
3
4
5
6
7
8
GET /bids HTTP/1.1 Host: sn1.testnet.pantos.io Accept: */*
List of bids for a given source and destination blockchain
{ "execution_time": 1, "valid_until": 1, "fee": 1, "signature": "text" }
POST /transfer HTTP/1.1 Host: sn1.testnet.pantos.io Content-Type: application/json Accept: */* Content-Length: 316 { "source_blockchain_id": 1, "destination_blockchain_id": 0, "sender_address": "text", "recipient_address": "text", "source_token_address": "text", "destination_token_address": "text", "valid_until": 1, "amount": 1, "nonce": 1, "signature": "text", "bid": { "execution_time": 1, "valid_until": 1, "fee": 1, "signature": "text" }, "time_received": 1 }
Transfer request accepted
{ "task_id": "text" }