Skip to content

Bring createrawtransaction up to date #35

Description

@roylee17

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 )

...

Metadata

Metadata

Assignees

Labels

rpcRPC related issues

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions