Filter Off Chain Transactions

This service returns off chain transactions with pagination

Filter Off Chain Transactions

GET {{server-url}}/off-chain-transactions/filter

It returns list of off chain transactions with pagination

Query Parameters

Name
Type
Description

page

Number

Represents page number. Default 0

orderDirection

String

Represents order direction. It can be ASC or DESC. Default DESC

size

Number

Represents content size. Default 10

from

String

Represents sender wallet address of the transaction.

to

String

Represents receiver wallet address of the transaction.

projectSessionStatus

String

Represents project session's status.

projectSessionId

String

Represents UUID formatted project session identifier.

nftItemId

Number

Represents nft item's identifier.

Headers

Name
Type
Description

Authorization*

String

UUID formatted access token

PROJECT-ID*

String

UUID formatted project's identifier

{
    // Response
}

Example Response Body

{
    "data": {
        "content": [
            {
                "id": 630,
                "fromAddress": "0xA1fCa8098a9202A5e275E13341dd247BaFA61c88",
                "toAddress": "0xf98e4Fe3C82Eabf0139AA55f7E602351E9297996",
                "amount": 2,
                "nftItemId": 555,
                "projectSessionId": "a982c80e-497d-4066-aea7-6deba4377dcb"
            },
            {
                "id": 628,
                "fromAddress": "0xA1fCa8098a9202A5e275E13341dd247BaFA61c88",
                "toAddress": "0xf98e4Fe3C82Eabf0139AA55f7E602351E9297996",
                "amount": 2,
                "nftItemId": 555,
                "projectSessionId": "a982c80e-497d-4066-aea7-6deba4377dcb"
            },
            {
                "id": 626,
                "fromAddress": "0xf98e4Fe3C82Eabf0139AA55f7E602351E9297996",
                "toAddress": "0x348385aB6f0Fd0AE23d7B41D4b75d35D646a7989",
                "amount": 2,
                "nftItemId": 555,
                "projectSessionId": "a982c80e-497d-4066-aea7-6deba4377dcb"
            },
            {
                "id": 624,
                "fromAddress": "0xf98e4Fe3C82Eabf0139AA55f7E602351E9297996",
                "toAddress": "0x1c2fE603d4C794137E30131B5D91d3A699341994",
                "amount": 2,
                "nftItemId": 555,
                "projectSessionId": "a982c80e-497d-4066-aea7-6deba4377dcb"
            },
            {
                "id": 622,
                "fromAddress": "0xf98e4Fe3C82Eabf0139AA55f7E602351E9297996",
                "toAddress": "0x1c2fE603d4C794137E30131B5D91d3A699341994",
                "amount": 2,
                "nftItemId": 555,
                "projectSessionId": "a982c80e-497d-4066-aea7-6deba4377dcb"
            },
            {
                "id": 620,
                "fromAddress": "0xf98e4Fe3C82Eabf0139AA55f7E602351E9297996",
                "toAddress": "0x1c2fE603d4C794137E30131B5D91d3A699341994",
                "amount": 2,
                "nftItemId": 555,
                "projectSessionId": "a982c80e-497d-4066-aea7-6deba4377dcb"
            },
            {
                "id": 618,
                "fromAddress": "0xf98e4Fe3C82Eabf0139AA55f7E602351E9297996",
                "toAddress": "0x1c2fE603d4C794137E30131B5D91d3A699341994",
                "amount": 2,
                "nftItemId": 555,
                "projectSessionId": "a982c80e-497d-4066-aea7-6deba4377dcb"
            }
        ],
        "pageable": {
            "sort": {
                "unsorted": false,
                "sorted": true,
                "empty": false
            },
            "pageNumber": 0,
            "pageSize": 10,
            "offset": 0,
            "paged": true,
            "unpaged": false
        },
        "totalElements": 7,
        "totalPages": 1,
        "last": true,
        "numberOfElements": 7,
        "number": 0,
        "first": true,
        "size": 10,
        "sort": {
            "unsorted": false,
            "sorted": true,
            "empty": false
        },
        "empty": false
    },
    "message": null,
    "code": 0,
    "error": false
}

Response Fields

Key
Type
Description

id

Number

Represents off chain transaction's identifier

fromAddress

String

Represents sender wallet address of the transaction.

toAddress

String

Represents receiver wallet address of the transaction.

amount

Number

Represents count of Nft Items

nftItemId

Number

Represents Nft Item's identifier.

projectSessionId

String

Represents UUID formatted project session identifier.

Last updated