Use /wallet/send with a destinations mapping to broadcast a single BTC transaction paying multiple recipients. Omit the top-level amount when using this shape.

Examples

from py_1151 import Client

client = Client(api_key="sk_live_...")

success, tx_id = client.send_from_wallet(
    wallet_id="w_btc_wallet_id_or_address",
    destination={
        "bc1qaddr1...": 0.004,
        "bc1qaddr2...": 0.006,
    },
    asset="BTC",
    btc_fee="normal",
    metadata={"batch": True},
)

print(success, tx_id)
Notes:
  • Provide exactly one shape: either { amount, destination } or { destinations }.
  • btc_fee accepts low, normal, high, or a sat/vByte string.