(ctx context.Context, in *GetTokenPriceRequest, opts ...http.CallOption)
| 62 | } |
| 63 | |
| 64 | func (c *DefiHTTPClientImpl) GetTokenPrice(ctx context.Context, in *GetTokenPriceRequest, opts ...http.CallOption) (*GetTokenPriceReply, error) { |
| 65 | var out GetTokenPriceReply |
| 66 | pattern := "/api/gateway/interface/web3/defi/price" |
| 67 | path := binding.EncodeURL(pattern, in, true) |
| 68 | opts = append(opts, http.Operation(OperationDefiGetTokenPrice)) |
| 69 | opts = append(opts, http.PathTemplate(pattern)) |
| 70 | err := c.cc.Invoke(ctx, "GET", path, nil, &out, opts...) |
| 71 | if err != nil { |
| 72 | return nil, err |
| 73 | } |
| 74 | return &out, err |
| 75 | } |
nothing calls this directly
no outgoing calls
no test coverage detected