🇺🇲
Broearn Wallet Documentation
  • 🧬OVERVIEW
    • 💡What is Broearn Wallet?
    • 🛡️Security
    • 📋Available Networks
      • Parallel Universe Chain
      • Bitcoin
      • Ethereum
      • BNB Chain
      • Tron
      • Solana
      • OKX Chain
      • Optimism
      • Fantom
      • Ethereum Classic
      • Polygon
      • Avalanche
  • 🛸PUT
    • Extension & in Broearn app
      • Events
        • Disconnect
        • Accounts Changed
    • Detecting the Provider
  • Establishing a Connection
  • PROVIDER METHODS
    • Connect
    • Disconnect
    • SignMessage
    • SignTransaction
    • SignAllTransactions
    • SignAndSendTransaction
  • 🔹ETHEREUM & EVM
    • Getting Started with Ethereum and EVM
    • Detecting the Provider
    • Establishing a Connection
    • Sending a Transaction
    • Signing a Message
    • Provider API Reference
      • Properties
        • eth_chainId
        • eth_networkVersion
        • eth_selectedAddress
        • _events
        • _eventsCount
      • Events
        • Connect
        • Accounts Changed
        • Disconnect
        • Chain Changed
      • Methods
        • isConnected
        • request
  • Demo Applications
  • 📜ERRORS
  • ADVANCED
    • Auth
      • Web Javascript demo
      • Web Java
      • Web Golang
      • Web PHP
  • COMMUNITY AND SUPPORT
    • 🐦Twitter
    • ✈️Telegram
    • 🎮Discord
Powered by GitBook
On this page
  1. PROVIDER METHODS

SignAllTransactions

PreviousSignTransactionNextSignAndSendTransaction

Last updated 1 year ago

Once an app is connected, it is also possible to sign multiple transactions at once. Unlike , Broearn Wallet will not submit these transactions to the network.

Query String Parameters

window.bw.put.signAllTransactions({
  "transactions": [
    "...", // serialized transaction, bs58-encoded
    "...", // serialized transaction, bs58-encoded
  ],
  "session": "...", // token received from connect-method
})
  • transactions (required): An array of transactions that PUT will sign, serialized and encoded in base58.

  • session (required): The session token received from the method.

Returns

​✅Approve

  • data: An encrypted JSON string. Refer to Encryption to learn how apps can decrypt data using a shared secret. Encrypted bytes are encoded in base58.

    // content of decrypted `data`-parameter
    {
        transactions: [
            "...", // signed serialized transaction, bs58-encoded
            "...", // signed serialized transaction, bs58-encoded
        ] 
    }
    • transactions: An array of signed, serialized transactions that are base58 encoded. Broearn Wallet will not submit these transactions.

​❌Reject

{
  "errorCode": "...",
  "errorMessage": "..."
}

An errorCode and errorMessage as query parameters. Please refer to for a full list of possible error codes.

SignAndSendTransaction
Connect
Errors