Function TSSApiAxiosParamCreator

  • TSSApi - axios parameter creator

    Parameters

    Returns {
        keysign: ((height, options?) => Promise<RequestArgs>);
        keysignPubkey: ((height, pubkey, options?) => Promise<RequestArgs>);
        metrics: ((height?, options?) => Promise<RequestArgs>);
        metricsKeygen: ((pubkey, height?, options?) => Promise<RequestArgs>);
    }

    • keysign: ((height, options?) => Promise<RequestArgs>)

      Returns keysign information for the provided height - the height being the first block a tx out item appears in the signed-but-unobserved outbound queue.

      Throws

        • (height, options?): Promise<RequestArgs>
        • Parameters

          • height: number
          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • keysignPubkey: ((height, pubkey, options?) => Promise<RequestArgs>)

      Returns keysign information for the provided height and pubkey - the height being the block at which a tx out item is scheduled to be signed and moved from the scheduled outbound queue to the outbound queue.

      Throws

        • (height, pubkey, options?): Promise<RequestArgs>
        • Parameters

          • height: number
          • pubkey: string
          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • metrics: ((height?, options?) => Promise<RequestArgs>)

      Returns keygen and keysign metrics for current vaults.

      Throws

        • (height?, options?): Promise<RequestArgs>
        • Parameters

          • Optional height: number

            optional block height, defaults to current tip

          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • metricsKeygen: ((pubkey, height?, options?) => Promise<RequestArgs>)

      Returns keygen metrics for the provided vault pubkey.

      Throws

        • (pubkey, height?, options?): Promise<RequestArgs>
        • Parameters

          • pubkey: string
          • Optional height: number

            optional block height, defaults to current tip

          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

    Export

Generated using TypeDoc