arweave-go
arweave-go copied to clipboard
(tx_too_cheap)GetReward need add to address judgment
// 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
}
Maybe you need to update go SDK, which only applies to the activated address. If it is not activated, the transfer will fail