Build with AUGE

Integrate payments, wallets and smart contracts into any platform. REST API, TypeScript SDK, Python SDK — all open and documented.

● Mainnet Live Chain ID: 1 PoA Consensus WASM Contracts

Quick Start

1. Register

Create a developer account and get your API key.

curl -X POST \
  https://gateway.augecoin.io/v1/developers/register \
  -H "Content-Type: application/json" \
  -d '{"name":"Acme","email":"dev@acme.com"}'

2. Install SDK

TypeScript or Python — pick your stack.

npm install @augecoin/sdk
# or
pip install augecoin-sdk

3. Query Chain

Read blocks, accounts and balances with your key.

curl https://gateway.augecoin.io/v1/node/status \
  -H "x-api-key: aug_..."

API Reference

Base URL: https://gateway.augecoin.io/v1 · Auth header: x-api-key

Public (no auth required)

MethodEndpointDescription
POST /v1/developers/register Create developer account
POST /v1/auth/token Exchange API key for JWT
GET /v1/pricing Tier plans and pricing
GET /health Health check

Blockchain (API key required)

MethodEndpointDescription
GET /v1/node/status Node status (height, peers, sync)
GET /v1/account/{id} Account info by AUGEID
GET /v1/account/{id}/balance Balance (augesat + AUGE)
GET /v1/block/{height} Block by number
GET /v1/blocks Latest blocks list
GET /v1/transactions/pending Mempool operations
GET /v1/contracts/auge20 List all AUGE20 tokens

JSON-RPC (API key required)

Post to / or /v1/rpc with a JSON-RPC 2.0 body.

curl -X POST https://gateway.augecoin.io/v1/rpc \
  -H "content-type: application/json" \
  -H "x-api-key: aug_..." \
  -d '{"jsonrpc":"2.0","id":1,"method":"getaccount","params":[1]}'
MethodDescription
getaccountGet account info
getblockGet block by number
getblockcountCurrent chain height
nodestatusFull node status
getvalidatorsetActive validators
sendoperationSubmit signed operation
contract_getContract metadata
contract_balanceAUGE20 balance
contract_queryGeneric contract query
contract_simulateDry-run execution
contract_estimate_gasGas estimate

Developer Account (API key required)

MethodEndpointDescription
GET /v1/developers/me Your developer profile
POST /v1/developers/keys Create new API key
DELETE /v1/developers/keys/{id} Revoke API key
GET /v1/developers/usage Usage statistics
GET /v1/developers/billing Billing summary

Webhooks (API key required)

MethodEndpointDescription
POST /v1/webhooks/register Register a webhook URL
GET /v1/webhooks List your webhooks
DELETE /v1/webhooks/{id} Delete a webhook

SDKs

TypeScript / Node.js

HD Wallet, RPC client, Payment Gateway, Subscription Billing and AUGE20 contracts.

npm install @augecoin/sdk

Open Explorer

Python

Async client for accounts, blocks, contracts and AUGE20 operations.

pip install augecoin-sdk

OpenAPI Spec

Accept Payments

PaymentGateway

Create time-limited payment sessions, poll for confirmations and receive webhooks when payments settle.

import { PaymentGateway } from "@augecoin/sdk";

const gw = new PaymentGateway({
  rpcUrl: "https://gateway.augecoin.io",
  merchantAccount: 1,
  confirmations: 1,
  webhookUrl: "https://yoursite.com/webhook",
});

const session = await gw.createSession({
  amountAuge: 0.05,
  memo: "Order #42",
  metadata: { orderId: "42" },
});

// Show session.depositAddress to the payer
gw.onPaymentConfirmed(session.id, async ({ session }) => {
  // Fulfill the order
});

Smart Contracts (AUGE20)

TokenClient

Create, transfer, mint and burn AUGE20 tokens through the WASM contract engine.

import { TokenClient, encodeTokenInit } from "@augecoin/sdk";

const init = encodeTokenInit({
  name: "My Token",
  symbol: "MTK",
  decimals: 8,
  initialSupply: 1000000n,
  maxSupply: 10000000n,
  mintEnabled: true,
  burnEnabled: true,
});

await tokenClient.transfer(destinationAccount, 500000n);
await tokenClient.mint(recipientAccount, 100000n);
await tokenClient.burn(50000n);

Resources

OpenAPI Spec

Machine-readable API specification.

View YAML

Full Documentation

Complete guide with endpoints, SDKs and examples.

View Docs

Explorer

Browse blocks, transactions and accounts on mainnet.

Open Explorer