"github.com/iotexproject/iotex-core/protogen/iotexapi"
"github.com/iotexproject/iotex-antenna-go/antenna"
wallet, err := antenna.NewAntenna("api.testnet.iotex.one:80")
log.Fatalf("create antenna error: %v", err)
account, err := wallet.Iotx.GetAccount(&iotexapi.GetAccountRequest{Address: "io1cl6rl2ev5dfa988qmgzg2x4hfazmp9vn2g66ng"})
chainMeta, err := wallet.Iotx.GetChainMeta(&iotexapi.GetChainMetaRequest{})
actions, err := wallet.Iotx.GetActions(&iotexapi.GetActionsRequest{
Lookup: &iotexapi.GetActionsRequest_ByIndex{
ByIndex: &iotexapi.GetActionsByIndexRequest{
blocks, err := wallet.Iotx.GetBlockMetas(&iotexapi.GetBlockMetasRequest{
Lookup: &iotexapi.GetBlockMetasRequest_ByIndex{
ByIndex: &iotexapi.GetBlockMetasByIndexRequest{