chainlib-eth

Ethereum implementation of the chainlib interface
Info | Log | Files | Refs | README | LICENSE

eth-encode.custom.groff (1071B)


      1 .SH MODES
      2 
      3 The modes parameter specifies what kind of operaion the encoding should be generated for. There are three valid modes:
      4 
      5 .SS tx
      6 Generates a transaction that changes state. Used with \fB--format\fP \fIrpc\fP it will generate an \fIeth_sendRawTransaction\fP jsonrpc object. Used with \fB--format\fP \fIbin\fP it outputs signed RLP only in hexdecimal.
      7 
      8 .SS call
      9 Generates a query that reads state. Used with \fB--format\fP \fIrpc\fP it will generate a \fIeth_call\fP jsonrpc object with applicable fields filled out from environment, arguments and/or rpc retrieval. \fB--format\fP \fIbin\fP is not valid for this mode.
     10 
     11 .SS arg
     12 Encodes the argument part only, optionally with a method signature. \fB--format\fP \fIrpc\fP is not valid for this mode.
     13 
     14 .SH SPECIFYING VALUES
     15 Dynamic value types are not yet supported.
     16 
     17 .SS Specifying an unsigned integer:
     18 .IP u:1024
     19 
     20 .SS Specifying an address:
     21 .IP a:19062190B1925b5b6689D7073fDfC8c2976EF8Cb
     22 
     23 .SS Specifying bytes values:
     24 
     25 .IP b:deadbeef 
     26 .IP b4:deadbeef
     27 .IP b32:deadbeef
     28 
     29 .SS Specifying a string value:
     30 
     31 .IP s:foobar