Bring createrawtransaction up to date #35

Closed
opened 2022-05-12 22:34:42 +02:00 by roylee17 · 0 comments
roylee17 commented 2022-05-12 22:34:42 +02:00 (Migrated from github.com)

Known issues:

  • doesn't support replaceable
  • doesn't take non-address data in the 2nd parameter.
 lbcctl createrawtransaction '[{"txid": "fd967aa8217fe948cda46b58eb04a7d9af618dc31dc91fbdcde5cbf4f6bf48c4", "vout": 0}]' '{"data": "aabbccdd", "bEQbGgnLQJmmcXAtSBxzNzvUAb5DvRyM4y": 1.0}'
 
createrawtransaction command: parameter #2 'amounts' must be valid JSON which unsmarshals to a map[string]float64 (code: ErrInvalidType)
Usage:
  createrawtransaction [{"txid":"value","vout":n},...] {"address":amount,...} (locktime)

Latest spec:

createrawtransaction [{"txid":"hex","vout":n,"sequence":n},...] [{"address":amount},{"data":"hex"},...] ( locktime replaceable )

...
Known issues: - doesn't support `replaceable` - doesn't take non-address `data` in the 2nd parameter. ``` lbcctl createrawtransaction '[{"txid": "fd967aa8217fe948cda46b58eb04a7d9af618dc31dc91fbdcde5cbf4f6bf48c4", "vout": 0}]' '{"data": "aabbccdd", "bEQbGgnLQJmmcXAtSBxzNzvUAb5DvRyM4y": 1.0}' createrawtransaction command: parameter #2 'amounts' must be valid JSON which unsmarshals to a map[string]float64 (code: ErrInvalidType) ``` ``` Usage: createrawtransaction [{"txid":"value","vout":n},...] {"address":amount,...} (locktime) ``` Latest spec: ``` createrawtransaction [{"txid":"hex","vout":n,"sequence":n},...] [{"address":amount},{"data":"hex"},...] ( locktime replaceable ) ... ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbcd#35
No description provided.