cryptofoundry

Contact cryptofoundry

Tell us what you want to build or automate.

adamant

ADAMANT v0.8.0

This release of ADAMANT introduces a cors option in config.json. Users can now use either inId or isIn in the /api/transactions and /api/chats/get endpoints. For example, /api/chats/get?InId=U6386412615727665758 and /api/chats/get?isIn=U6386412615727665758 are equivalent.

User IDs in the /api/chats/get and /api/chatrooms endpoints are now case insensitive. For example, /api/chatrooms/U6386412615727665758 and /api/chatrooms/u6386412615727665758 are the same.

Transactions and POST /api/accounts/delegates now accept a transaction as a plain object or inside the transaction property.

curl -X POST https://endless.adamant.im/api/transactions/process
   -H 'Content-Type: application/json'
   -d '{"type": 0, "amount": 100000000, ...}'  # or {"transaction": { "type": 0, "amount": 100000000, ... }}

The /api/states/get endpoint now includes a confirmations property. A generatorPublicKey query optimization has been applied. A “permission denied for schema public” error has been fixed, along with other minor changes.

Breaking changes

The /api/blocks endpoint no longer returns the count property.