• MPCWalletStakeApi - axios parameter creator

    Parameters

    Returns {
        broadcastStakingOperation: ((walletId, addressId, stakingOperationId, broadcastStakingOperationRequest, options?) => Promise<RequestArgs>);
        createStakingOperation: ((walletId, addressId, createStakingOperationRequest, options?) => Promise<RequestArgs>);
        getStakingOperation: ((walletId, addressId, stakingOperationId, options?) => Promise<RequestArgs>);
    }

    • broadcastStakingOperation: ((walletId, addressId, stakingOperationId, broadcastStakingOperationRequest, options?) => Promise<RequestArgs>)

      Broadcast a staking operation.

      Summary

      Broadcast a staking operation

      Throws

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

          • walletId: string

            The ID of the wallet the address belongs to.

          • addressId: string

            The ID of the address the staking operation belongs to.

          • stakingOperationId: string

            The ID of the staking operation to broadcast.

          • broadcastStakingOperationRequest: BroadcastStakingOperationRequest
          • Optional options: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • createStakingOperation: ((walletId, addressId, createStakingOperationRequest, options?) => Promise<RequestArgs>)

      Create a new staking operation.

      Summary

      Create a new staking operation for an address

      Throws

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

          • walletId: string

            The ID of the wallet the address belongs to.

          • addressId: string

            The ID of the address to create the staking operation for.

          • createStakingOperationRequest: CreateStakingOperationRequest
          • Optional options: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • getStakingOperation: ((walletId, addressId, stakingOperationId, options?) => Promise<RequestArgs>)

      Get the latest state of a staking operation.

      Summary

      Get the latest state of a staking operation

      Throws

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

          • walletId: string

            The ID of the wallet the address belongs to

          • addressId: string

            The ID of the address to fetch the staking operation for.

          • stakingOperationId: string

            The ID of the staking operation.

          • Optional options: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    Export