Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Whirlpool
whirlpool-client-cli
Commits
1e6d4f49
Commit
1e6d4f49
authored
Dec 26, 2019
by
zeroleak
Browse files
add /rest/utxos/{hash}:{index}/tx0Preview
parent
5279a9c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
README-API.md
README-API.md
+22
-0
No files found.
README-API.md
View file @
1e6d4f49
...
...
@@ -158,6 +158,28 @@ Response:
}
```
### Tx0 preview ```POST /rest/utxos/{hash}:{index}/tx0Preview```
Parameters:
*
hash, index: utxo to spend for tx0
Payload:
*
feeTarget (mandatory): fee target for tx0
*
poolId (optional): override utxo's poolId
```
{
feeTarget: "BLOCKS_4",
poolId: "0.01btc"
}
```
Response:
```
{
"txid":"aa079c0323349f4abf3fb793bf2ed1ce1e11c53cd22aeced3554872033bfa722"
}
```
### Tx0 ```POST /rest/utxos/{hash}:{index}/tx0```
Parameters:
*
hash, index: utxo to spend for tx0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment