jon4hz / 0xScan

API wrapper for the blockexplorers from the etherscan.io team

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

0xScan

License: MIT testing

πŸ’‘ About

This module offers an API wrapper for the blockexplorers from the etherscan.io team.

The APIs from the following explorers are supported at the moment:

πŸš€ Getting started

πŸ§‘β€πŸ’» Create a client

package main

import (
    "context"
    xscan "github.com/0xTrackerApp/0xScan"
)

func main() {
    // create empty context interface
    ctx := context.Background()

    // Create a new client
    client := xscan.NewClient(xscan.BscOpts, "<yourApiKey>") // other available options are xscan.EthOpts, xscan.PolygonOpts, etc

    _ = client
}

πŸ“œ Licensing

This SDK is released under the MIT-License found in the LICENSE file.

About

API wrapper for the blockexplorers from the etherscan.io team

License:MIT License


Languages

Language:Go 100.0%