@arkade-os/sdk Documentation - v0.4.54
    Preparing search index...

    Interface GroupMembership

    One transaction's participation in one logical action.

    interface GroupMembership {
        amount?: number;
        groupId: string;
        kind?: string;
        label?: string;
        metadata?: Record<string, unknown>;
    }
    Index

    Properties

    amount?: number

    This tx's unsigned sat contribution to this group. Defaults to the tx's full amount; the builder applies direction. Use it to split a batched tx across groups. Same-key receive rows paired with a sent row are treated as change and excluded from Activity.amount. A membership with a non-finite amount (NaN/Infinity) is dropped.

    groupId: string

    Stable id of the action; txs sharing it group together. Third-party resolvers should namespace it ("vendor:thing") to avoid colliding with other resolvers' groups. SDK built-ins use namespaced ids such as boarding:. A membership with an empty groupId is dropped.

    kind?: string

    App category for icon/filtering, e.g. "game".

    label?: string

    Human label for the action, e.g. "Dice game".

    metadata?: Record<string, unknown>

    Free-form row data. Same-group metadata is shallow-merged with earlier-resolver keys winning.