You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
321 B
21 lines
321 B
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"github.com/davecgh/go-spew/spew"
|
|
"log"
|
|
)
|
|
|
|
func main() {
|
|
c := JSONRPCClient("https://api.steemit.com", func(x *JSONRPC) { x.Debug = true })
|
|
|
|
r, err := c.GetVirtualOpsInBlock(20000000)
|
|
//r, err := c.GetOpsInBlock(1)
|
|
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
|
|
spew.Dump(r)
|
|
fmt.Println(r)
|
|
}
|
|
|