Skip to content
This repository was archived by the owner on May 30, 2022. It is now read-only.
This repository was archived by the owner on May 30, 2022. It is now read-only.

(tx_too_cheap)GetReward need add to address judgment #5

@Sayplaydiv

Description

@Sayplaydiv

// GetReward requests the current network reward
func (c *Client) GetReward(ctx context.Context, data []byte,address string) (string, error) {
body, err := c.get(ctx, fmt.Sprintf("price/%d/%v", len(data),address))
if err != nil {
return "", err
}
return string(body), nil

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions