Public Transactions API

Create a transaction

Endpoint

POST /api/transactions

Body Parameters

Name Type Description Required
transactions array The list of transactions to create.

Response

{
    "data": {
        "accept": [
            "15d4b3e933b79e5172bbf14c2bd3f92d927394cd8ebd102f18dcc2203af363ca",
            "c48862c4df75a8b0859b559658c757c1c289088488630494fe51613db0747e57",
            "bd10b25444363252e0787e46f5cac90797d08a0c34d507a10d064c94cccf6226",
            "ba9e1d4ad2db9f860deef0e5d5c46bbd9f16222295aafd468e23d4f3d04cfbb8",
            "27963debfa3ced1f606193e81fe3fae16c225c8607e0fd267266a448b5f38520",
            "e9fffd1536f43f36840b8fa2793d4ac473db97bd864bdd54910b4de19fd954db",
            "320111c0c0fd386907cd912e376690704ed118a559f86bd4e00e99db7b7ffc10",
            "176a6d425828f6e7120b790cd77f2a447e3e9b2ccf20808dcc97f027b6dd0eba",
            "dd7015b4bb3768e7ffc0c06a9b72f85f01abc69329e7990f864ebdc3daa1f9e3",
            "dad91ecf3e547cd6b7d7868d1c18b99b88f1f8d2c16ed5f1a7e96eb5a0010c0d"
        ],
        "excess": [],
        "invalid": []
    }
}

Retrieve a transaction

Endpoint

GET /api/transactions/{id}

Path Parameters

Name Type Description Required
id string The identifier of the transaction to be retrieved.

Response

{
    "data": {
        "id": "5c6ce775447a5acd22050d72e2615392494953bb1fb6287e9ffb3c33eaeb79aa",
        "blockId": "4271682877946294396",
        "type": 0,
        "amount": 32106400000,
        "fee": 10000000,
        "sender": "DDiTHZ4RETZhGxcyAi1VruCXZKxBFqXMeh",
        "recipient": "DQnQNoJuNCvpjYhxL7fsnGepHBqrumgsyP",
        "signature": "3044022047c39f6f45a46a87f91ca867f9551dbebf0035adcfcbdc1370222c7a1517fc0002206fb5ecc10460e0352a8b626a508e2fcc76e39e490b0a2581dd772ebc8079696e",
        "confirmations": 1928,
        "timestamp": {
            "epoch": 32794053,
            "unix": 1522895253,
            "human": "2018-04-05T02:27:33Z"
        }
    }
}

List all transactions

Endpoint

GET /api/transactions

Query Parameters

Name Type Description Required
page int The number of the page that will be returned.
limit int The number of resources per page.

Response

{
    "meta": {
        "count": 2,
        "pageCount": 127430,
        "totalCount": 254860,
        "next": "/v2/transactions?page=2",
        "previous": null,
        "self": "/v2/transactions?page=1",
        "first": "/v2/transactions?page=1",
        "last": "/v2/transactions?page=127430"
    },
    "data": [
        {
            "id": "5c6ce775447a5acd22050d72e2615392494953bb1fb6287e9ffb3c33eaeb79aa",
            "blockId": "4271682877946294396",
            "type": 0,
            "amount": 32106400000,
            "fee": 10000000,
            "sender": "DDiTHZ4RETZhGxcyAi1VruCXZKxBFqXMeh",
            "recipient": "DQnQNoJuNCvpjYhxL7fsnGepHBqrumgsyP",
            "signature": "3044022047c39f6f45a46a87f91ca867f9551dbebf0035adcfcbdc1370222c7a1517fc0002206fb5ecc10460e0352a8b626a508e2fcc76e39e490b0a2581dd772ebc8079696e",
            "confirmations": 1924,
            "timestamp": {
                "epoch": 32794053,
                "unix": 1522895253,
                "human": "2018-04-05T02:27:33Z"
            }
        }
    ]
}

List all unconfirmed transaction

Endpoint

GET /api/transactions/unconfirmed

Query Parameters

Name Type Description Required
page int The number of the page that will be returned.
limit int The number of resources per page.

Response

{}
Last Updated: 8/24/2018, 6:39:53 AM