This API allows miners to interact with the Gram Mining Pool backend to fetch tasks and submit solutions.
Telegram Developers Chat | Telegram News Channel | Pool Official Web-site
https://api-pool.gramcoin.org
Retrieve simplified tasks associated with a miner's address.
GET /v2/task/:address
:address
- The miner's address in the TON network.X-MINER-VERSION
(mandatory): EXTERNAL-bc10c1fa
{
task: {
id: string,
seed: string,
complexity: string,
pool_address: string,
} | null,
tick: number
}
{
error: string
}
Submit a solution to a task associated with a miner's address.
POST /v2/solution/:address
:address
- The miner's address in the TON network.X-MINER-VERSION
(mandatory): EXTERNAL-bc10c1fa
{
id: string,
solution: string,
}
id
: Task identifier.solution
: Solution in hexadecimal format.{
error: string
}