Delete Automatic Coins Forwarding

Through this endpoint customers can delete a forwarding function they have set for coins (not tokens).

By setting a fromAddress and a toAddress, and specifying the amount, coins can be transferred between addresses.

A feePriority will be returned which represents the fee priority of the automation whether it is "SLOW", "STANDARD" OR "FAST".

The subscription will work for all incoming transactions until it is deleted. There is no need to do that for every transaction.

Single Result - This endpoint returns only one single result. DELETE /blockchain-automations/{blockchain}/{network}/coins-forwarding/automations/{referenceId}

Path Parameters

  • Required
    blockchain string

    Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.

    Example : bitcoin
    Possible Values : bitcoin bitcoin-cash litecoin dogecoin dash ethereum ethereum-classic
  • Required
    network string

    Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "ropsten" are test networks.

    Example : testnet
    Possible Values : mainnet testnet mordor sepolia
  • Required
    referenceId string

    Represents a unique ID used to reference the specific callback subscription.

    Example : 600955ea5e75d660e71d3c7d

Query parameters

  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString

Response schema

200 400 401 402 403 404 409 415 422 429 500
HTTP Status Code: 200
Content-Type: application/json

The delete request has been successful.

  • Object :

  • Required
    apiVersion string

    Specifies the version of the API that incorporates this endpoint.

    Example : 2023-04-25
  • Required
    requestId string

    Defines the ID of the request. The requestId is generated by Crypto APIs and it's unique for every request.

    Example : 601c1710034ed6d407996b30
  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Required
    data object
    • Required
      item object
      • Required
        callbackUrl string

        Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. We support ONLY httpS type of protocol.

        Example : https://example.com
      • Required
        confirmationsCount integer

        Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block.

        Example : 3
      • Required
        createdTimestamp integer

        Defines the specific time/date when the automatic forwarding was created in Unix Timestamp.

        Example : 1611238648
      • Required
        feePriority string

        Represents the fee priority of the automation, whether it is "SLOW", "STANDARD" or "FAST".

        Example : standard
        Possible Values : slow standard fast
      • Required
        fromAddress string

        Represents the hash of the address that forwards the currency.

        Example : mzAsK3csTnozLnYVdca4gaoH1btBZBC6QB
      • Required
        minimumTransferAmount string

        Represents the minimum transfer amount of the currency in the fromAddress that can be allowed for an automatic forwarding.

        Example : 0.00002
      • Required
        referenceId string

        Represents a unique ID used to reference the specific callback subscription.

        Example : 601c1f23ec4b80f51245e617
      • Required
        toAddress string

        Represents the hash of the address the currency is forwarded to.

        Example : mzYijhgmzZrmuB7wBDazRKirnChKyow4M3

Credits Cost : 100 Credits For 1 Result(s)

Try it out

Request Example

DELETE
https://rest.cryptoapis.io/blockchain-automations/bitcoin/testnet/coins-forwarding/automations/600955ea5e75d660e71d3c7d?context=yourExampleString
Headers
Content-Type: application/json
X-API-Key: my-api-key

Response Example

{
    "apiVersion": "2023-04-25",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "callbackUrl": "https://example.com",
            "confirmationsCount": 3,
            "createdTimestamp": 1611238648,
            "feePriority": "standard",
            "fromAddress": "mzAsK3csTnozLnYVdca4gaoH1btBZBC6QB",
            "minimumTransferAmount": "0.00002",
            "referenceId": "601c1f23ec4b80f51245e617",
            "toAddress": "mzYijhgmzZrmuB7wBDazRKirnChKyow4M3"
        }
    }
}