feat(core/libstatus): expose status-go `sendTransaction` binding
This commit is contained in:
parent
7149f50778
commit
a09f694d23
|
@ -9,3 +9,6 @@ proc callRPC*(inputJSON: string): string =
|
|||
|
||||
proc callPrivateRPC*(inputJSON: string): string =
|
||||
return $libstatus.callPrivateRPC(inputJSON)
|
||||
|
||||
proc sendTransaction*(inputJSON: string, password: string): string =
|
||||
return $libstatus.sendTransaction(inputJSON, password)
|
||||
|
|
|
@ -19,3 +19,5 @@ proc callPrivateRPC*(inputJSON: cstring): cstring {.importc: "CallPrivateRPC".}
|
|||
proc addPeer*(peer: cstring): cstring {.importc: "AddPeer".}
|
||||
|
||||
proc setSignalEventCallback*(callback: SignalCallback) {.importc: "SetSignalEventCallback".}
|
||||
|
||||
proc sendTransaction*(jsonArgs: cstring, password: cstring): cstring {.importc: "SendTransaction".}
|
||||
|
|
Loading…
Reference in New Issue