Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Retrieve multisignature transaction by ID (GET) #165

Closed
Tracked by #44
sridharmeganathan opened this issue Nov 2, 2020 · 0 comments
Closed
Tracked by #44

Retrieve multisignature transaction by ID (GET) #165

sridharmeganathan opened this issue Nov 2, 2020 · 0 comments
Assignees
Milestone

Comments

@sridharmeganathan
Copy link
Contributor

sridharmeganathan commented Nov 2, 2020

Description

Allow transaction retrieval from a database using a transaction ID. Create an action called multisig.get accepting JSON with serviceId property.

The transaction can be retrieved by any HTTP client, by accessing the following endpoint: /api/v2/transactions/multisig?serviceId=<serviceId>

The format is the same as the response during transaction initiation.

Motivation

Retrieval of a certain transaction by ID has to be possible.

Acceptance Criteria

  • It is possible to find a transaction by ID using an internal action.
  • Integration tests are ready
  • Functional tests are ready

Additional Information

Request

GET /api/v2/transactions/multisig
get.transactions.multisig

Parameter Validation Default Comment
serviceId String (empty)  

Response

200 OK

{
  "data": [{
      "serviceId": <String>, // LS internal transaction ID (UUID)
      "nonce": <String>,
      "senderPublicKey": <String>,
      "asset": { ... },
      "moduleAssetId": <Number>,
      "fee": <String>,
      "expires": <Number>, // UNIX Timestamp
      "signatures": [
        {
          "publicKey": <String>,
          "address": <String>,
          "signature": <String>,
          "accountRole": <String> // mandatory/optional/owner
        }
      ]
  }],
  "meta": {
      "count": <Number>, "offset": <Number>, "total": <Number>,
  }
}
@MichalTuleja MichalTuleja changed the title Retrieve multisignature transaction by ID Retrieve multisignature transaction by ID (GET) Jul 2, 2021
@sridharmeganathan sridharmeganathan added this to the Next Sprint milestone Sep 29, 2021
@sameersubudhi sameersubudhi self-assigned this Oct 7, 2021
MichalTuleja pushed a commit that referenced this issue Oct 15, 2021
…action

Retrieve multisignature transaction - Closes #165 #166
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants