API Documentation for Vanex

Integrate your Vanex generator with the Tronrev platform.

Base URL

https://tronrev.com/api/v1
GET

/escrow/pubkey

Returns the platform's public key (RSA PEM format) used for encrypting private keys for "Managed" addresses.

{
  "success": true,
  "pubkey": "-----BEGIN PUBLIC KEY-----\n..."
}
POST

/auth/login

Authenticates the user and returns a session token.

Request Body:
{ "address": "T...", "password": "..." }
POST

/addresses/tag

Submit a batch of vanity addresses to be tagged as "Managed" or "Global".

Headers:
Authorization: Bearer <token>
Request Body:
{
  "addresses": [
    {
      "address": "TBjc...",
      "private_key": "...", // Encrypted or Plain
      "type": "shared", // or 'managed'
      "network": "trx",
      "price": 100
    }
  ]
}
Encryption Note: For managed addresses, the private_key MUST be encrypted using the platform's public key (RSA-OAEP) before submission.