Function cryptoapis::apis::automatic_tokens_forwarding_api::add_tokens_to_existing_from_address[][src]

pub async fn add_tokens_to_existing_from_address(
    configuration: &Configuration,
    blockchain: &str,
    network: &str,
    context: Option<&str>,
    add_tokens_to_existing_from_address_rb: Option<AddTokensToExistingFromAddressRb>
) -> Result<AddTokensToExistingFromAddressR, Error<AddTokensToExistingFromAddressError>>
Expand description

Through this endpoint customers can add Automatic Tokens forwardings to an already existing fromAddress. Unlike the "Create Automatic Tokens Forwarding" endpoint, where the fromAddress is generated each time, with this endpoint customers can add an automation from another token to one and the same fromAddress. The fromAddress can be used as a deposit address. Any funds received by this address will be automatically forwarded to toAddress based on what the customer has set for the automation. The toAddress is essentially the main address and destination for the automatic tokens forwarding. There is also a minimumTransferAmount which only when reached will then trigger the forwarding. Through this the customer can save from fees. Moreover, feePriority can be also set, which defines how quickly to move the tokens once they are received. The higher priority, the larger the fee will be. It can be "SLOW", "STANDARD" or "FAST". For this automatic forwarding the customer can set a callback subscription. {warning}The subscription will work for all incoming transactions until it is deleted. There is no need to do that for every transaction.{/warning}