Skip to main content

Claim Outputs

You can use wallet.rs to send funds with an expiration. If you don't claim these funds within the expiration period, they will be returned to the sender.

Code Example

The following example will:

  1. Create an account manager.
  2. Get Alice's and Bob's account which were created in the first guide.
  3. Prepare and send an output with an expiration unlock.
  4. Sync Bob's account to get the output event.
  5. Claim the output by calling the account.claimOutputs([outputId]) function from Bob's account.
Guide Coming Soon

This how to guide is not available in your language of choice at the moment. Please feel free to browse more examples which may suit your requirements.

Expected Output

Guide Coming Soon

This how to guide is not available in your language of choice at the moment. Please feel free to browse more examples which may suit your requirements.