Skip to main content

Send a Micro Transaction

If you need to send an amount below the minimum storage deposit, you should use a microtransaction.

Online Faucet

You can request test funds from the Shimmer Testnet Faucet.

Code Example

The following example will:

  1. Create a wallet.
  2. Get Alice's account which was created in the first guide.
  3. Create the outputs for a microtransaction.
  4. Send the micro-microtransaction using the Account.send_micro_transaction(addresses_with_micro_amount, options) function.
sdk/examples/how_tos/advanced_transactions/send_micro_transaction.rs
loading...

Expected Output

Transaction sent: 0x4f04a922dcac8d22b95f1edb269a0aee056f2fa11bbcf0cbb408f937480e8119
Block included: https://explorer.shimmer.network/testnet/block/0xb7134950c962b88d280589e9431dcb70527c4cb72cb640e614c896643180007a