Function ContractInvocationsApiAxiosParamCreator

  • ContractInvocationsApi - axios parameter creator

    Parameters

    Returns {
        broadcastContractInvocation: ((walletId, addressId, contractInvocationId, broadcastContractInvocationRequest, options?) => Promise<RequestArgs>);
        createContractInvocation: ((walletId, addressId, createContractInvocationRequest, options?) => Promise<RequestArgs>);
        getContractInvocation: ((walletId, addressId, contractInvocationId, options?) => Promise<RequestArgs>);
        listContractInvocations: ((walletId, addressId, limit?, page?, options?) => Promise<RequestArgs>);
    }

    • broadcastContractInvocation: ((walletId, addressId, contractInvocationId, broadcastContractInvocationRequest, options?) => Promise<RequestArgs>)

      Broadcast a contract invocation.

      Summary

      Broadcast a contract invocation.

      Throws

        • (walletId, addressId, contractInvocationId, broadcastContractInvocationRequest, options?): Promise<RequestArgs>
        • Parameters

          • walletId: string

            The ID of the wallet the address belongs to.

          • addressId: string

            The ID of the address the contract invocation belongs to.

          • contractInvocationId: string

            The ID of the contract invocation to broadcast.

          • broadcastContractInvocationRequest: BroadcastContractInvocationRequest
          • Optional options: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • createContractInvocation: ((walletId, addressId, createContractInvocationRequest, options?) => Promise<RequestArgs>)

      Create a new contract invocation.

      Summary

      Create a new contract invocation for an address.

      Throws

        • (walletId, addressId, createContractInvocationRequest, options?): Promise<RequestArgs>
        • Parameters

          • walletId: string

            The ID of the wallet the source address belongs to.

          • addressId: string

            The ID of the address to invoke the contract from.

          • createContractInvocationRequest: CreateContractInvocationRequest
          • Optional options: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • getContractInvocation: ((walletId, addressId, contractInvocationId, options?) => Promise<RequestArgs>)

      Get a contract invocation by ID.

      Summary

      Get a contract invocation by ID.

      Throws

        • (walletId, addressId, contractInvocationId, options?): Promise<RequestArgs>
        • Parameters

          • walletId: string

            The ID of the wallet the address belongs to.

          • addressId: string

            The ID of the address the contract invocation belongs to.

          • contractInvocationId: string

            The ID of the contract invocation to fetch.

          • Optional options: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • listContractInvocations: ((walletId, addressId, limit?, page?, options?) => Promise<RequestArgs>)

      List contract invocations for an address.

      Summary

      List contract invocations for an address.

      Throws

        • (walletId, addressId, limit?, page?, options?): Promise<RequestArgs>
        • Parameters

          • walletId: string

            The ID of the wallet the address belongs to.

          • addressId: string

            The ID of the address to list contract invocations for.

          • Optional limit: number

            A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

          • Optional page: string

            A cursor for pagination across multiple pages of results. Don&#39;t include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.

          • Optional options: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    Export