Class EncodingApi

Hierarchy

  • EncodingApi
    • EncodingApi

Constructors

Properties

Methods

Constructors

  • Parameters

    • Optionalconfiguration: Configuration
    • OptionalbasePath: string
    • Optionalaxios: AxiosInstance

    Returns EncodingApi

Properties

basePath: string
axios: AxiosInstance
configuration: undefined | Configuration

Methods

  • Retrieves the Starkex Encoded format for a given asset so that it can be used as parameter for Starkex smart contracts

    Parameters

    • requestParameters: EncodingApiEncodeAssetRequest

      Request parameters.

    • Optionaloptions: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<EncodeAssetResponse, any>>

    Retrieves the Starkex Encoded format for a given asset

    EncodingApi