FAQS
Why does the SponsorGas function fail in Go language to process my request despite the input seeming correct?
SponsorGas function fail in Go language to process my request despite the input seeming correct?- A common reason for the failure of the - SponsorGasfunction is an incorrect request format. If the input data is not structured as the API expects, the function may return errors or fail silently. Specifically, using- []byteor- []uint8for the- Datafield instead of the expected- map[string]uint8can cause issues.
What should the correct structure of KanaSponsorGasInput look like in Go language?
KanaSponsorGasInput look like in Go language?type KanaSponsorGasInput struct {
    Data              map[string]uint8 `json:"data"`
    AdditionalSigners []string         `json:"additionalSigners,omitempty"`
}
Last updated
