kas

package
v0.9.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

kas is a RPC client for Klaytn API Service (KAS). For detail,

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(cfg Config) (*klayClient.Client, error)

Dial connects to Klaytn API Service and returns a JSON-RPC client.

Types

type Config

type Config struct {
	Endpoint        string `default:"https://node-api.klaytnapi.com/v1/klaytn"`
	Network         string `default:"cypress"`
	AccessKeyID     string
	SecretAccessKey string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL