Documentation ¶
Overview ¶
Package rest ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockchainRESTClient ¶
type BlockchainRESTClient struct {
// contains filtered or unexported fields
}
BlockchainRESTClient is a client to the blockchain REST interface.
func NewBlockchainRESTClient ¶
func NewBlockchainRESTClient(baseURL string) *BlockchainRESTClient
NewBlockchainRESTClient ...
func (*BlockchainRESTClient) GetTokenBalance ¶
func (b *BlockchainRESTClient) GetTokenBalance(ctx context.Context, address string) (*TokenResponse, error)
GetTokenBalance returns token balance (PDV) of the given address.
Click to show internal directories.
Click to hide internal directories.