getBalance2 (30)

Planned Upgrade

The getBalance2 message is a simple request sent to a peer to query the current balance of a specific wallet address according to that peer's view of the ledger.

Core Data Types

Payload Structure

FieldData TypeMinMaxDescription
walletAddressIxiBytesThe wallet address (without checksum) for which the balance is being requested.

Behavioral Notes

  • This is a direct query for information. A node receiving this message should look up the current balance for the given walletAddress in its WalletState.
  • The node should then construct and send a balance2 message back to the requester.