Skip to content

🧮 Calculating claimable balance ID #836

@JFWooten4

Description

@JFWooten4

| balance_id | The unique identifier of the claimable balance. The id is comprised of 8 character type code + SHA-256 hash of the history operation id that created the balance. The balance id can be joined back to the \`claimable_balances\` table to gather more details about the balance | string | | | | | | history_operations | |

Claimable balance IDs use a "history operation id that created the balance" to get the final CB_ID. You are supposed to be able to do this outside of the network:

1. The submitter of the entry (Account A in this case) can retrieve the Balance ID before submitting the transaction;

However, the documentation isn't clear on how to precisely find your CB_ID, which adds operational complexity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions