Serial Number Listing

GET

The current rest_core does not register /api/tools/serial-numbers. To list serial numbers of coins in a folder, use /api/wallets/show-coins.

What Changed

The documentation previously advertised /api/tools/serial-numbers?folder_path=..., but that route is not registered in D:\Code\ByLanguage\C\rest_core\api_src\api_handlers.c.

No Registered Tools Route

The current rest_core registers /api/tools/support-zip under /api/tools, but not a serial-number listing endpoint.

Use This Live Endpoint Instead

/api/wallets/show-coins is the registered endpoint that scans a wallet folder and returns each coin's serial_number, denomination, value, and pown.

Parameter Type Required Description
wallet_path string No Absolute wallet path. Example: E:/Client_Data/Wallets/Default
folder string No Wallet folder to scan. Common values: Bank, Fracked, Counterfeit, Import. Defaults to Bank.

Example Response

{
  "status": "success",
  "operation": "show-coins",
  "wallet": "Default",
  "folder": "Bank",
  "coins": [
    {
      "denomination": 100,
      "serial_number": 1234567,
      "folder": "Bank",
      "pown": "ppppppppppppppppppppppppp",
      "value": 100
    }
  ],
  "total_coins": 1,
  "total_value": 100
}

Related Endpoint

/api/wallets/show-coins

Registered in rest_core and supports listing serial numbers for coins in a wallet folder.