You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/src/main/resources/rosetta-specifications-1.4.15/api.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1654,8 +1654,7 @@
1654
1654
"type": "object",
1655
1655
"required": [
1656
1656
"network_identifier",
1657
-
"account_identifier",
1658
-
"include_mempool"
1657
+
"account_identifier"
1659
1658
],
1660
1659
"properties": {
1661
1660
"network_identifier": {
@@ -1666,6 +1665,7 @@
1666
1665
},
1667
1666
"include_mempool": {
1668
1667
"type": "boolean",
1668
+
"default": false,
1669
1669
"description": "Include state from the mempool when looking up an account's unspent coins. Note, using this functionality breaks any guarantee of idempotency."
Copy file name to clipboardExpand all lines: api/src/main/resources/rosetta-specifications-1.4.15/api.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1113,14 +1113,14 @@ components:
1113
1113
required:
1114
1114
- network_identifier
1115
1115
- account_identifier
1116
-
- include_mempool
1117
1116
properties:
1118
1117
network_identifier:
1119
1118
$ref: '#/components/schemas/NetworkIdentifier'
1120
1119
account_identifier:
1121
1120
$ref: '#/components/schemas/AccountIdentifier'
1122
1121
include_mempool:
1123
1122
type: boolean
1123
+
default: false
1124
1124
description: Include state from the mempool when looking up an account's unspent coins. Note, using this functionality breaks any guarantee of idempotency.
Copy file name to clipboardExpand all lines: docs/cardano-specific-api-additions.md
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,11 @@ To support all of these operations extra metadata in addition to the Rosetta Spe
41
41
"poolRegistrationParams": { "type": "PoolRegistrationParams"} // Extra Parameters for a pool registration. Only use if it's a pool registration operation.
42
42
"voteRegistrationMetadata": { "type": "VoteRegistrationMetadata"} // Metadata to register votes. Only use if it's a vote registration operation.
43
43
```
44
+
45
+
### ``/account/coins``
46
+
`include_mempool` is an optional parameter that can be used to include mempool transactions in the response.
47
+
If not set, it will be ignored. Default is false, since mempool tracking is not activated by default as well.
48
+
44
49
### ``/construction/derive``
45
50
Following the rosetta specification this endpoint returns an Enterprise address.
46
51
In addition to that Cardano Rosetta Java allows the creation of Reward and Base addresses, which aren't supported in the Rosetta specification.
0 commit comments