refactor(transactions): move PendingTransaction type to new backend (#124)
This commit is contained in:
parent
08a4cfa36c
commit
32269deb54
|
@ -4,6 +4,13 @@ import json, stint, chronicles, strutils, conversions
|
|||
import ../types/transaction
|
||||
import ./core as core
|
||||
|
||||
type PendingTransactionType* {.pure.} = enum
|
||||
RegisterENS = "RegisterENS",
|
||||
SetPubKey = "SetPubKey",
|
||||
ReleaseENS = "ReleaseENS",
|
||||
BuyStickerPack = "BuyStickerPack"
|
||||
WalletTransfer = "WalletTransfer"
|
||||
|
||||
proc checkRecentHistory*(addresses: seq[string]) {.raises: [Exception].} =
|
||||
let payload = %* [addresses]
|
||||
discard callPrivateRPC("wallet_checkRecentHistory", payload)
|
||||
|
|
Loading…
Reference in New Issue