Create Off Chain Transaction

Create off chain transactions for specified project session. Before creating a new transaction, make sure you created a project session before.

Create Off Chain Transaction

POST {{server-url}}/off-chain-transactions

It returns off chain transaction's identifier

Headers

NameTypeDescription

Authorization*

String

UUID formatted access token

Content-Type*

String

application/json

PROJECT-ID*

String

UUID formatted projectId information

Request Body

NameTypeDescription

partyAddress*

String

Represents transaction's party. First one is getting from project session.

projectSessionId

String

Represents project session's UUID formatted identifier.

nftItemId

Number

Represents Nft item's identifier.

amount

Number

Represents count of Nft item

direction

String

Represents transaction direction. It can be IN or OUT.

{
    // Response
}

Example Response Body

{
    "data": 328,
    "message": null,
    "code": 0,
    "error": false
}

Last updated