neoneo-go/pkg/rpc/response/result/netfee.go
Roman Khimov 6a61e86d12 rpc: wrap calculatenetworkfee result in a structure
C#:
{
  "jsonrpc": "2.0",
  "id": 2,
  "result": {
    "networkfee": "1185120"
  }
}

Go:
{
  "id": 2,
  "jsonrpc": "2.0",
  "result": 1185120
}

Thanks @csmuller for finding it.
2021-06-04 23:38:35 +03:00

6 lines
150 B
Go

package result
// NetworkFee represents a result of calculatenetworkfee RPC call.
type NetworkFee struct {
Value int64 `json:"networkfee,string"`
}