Interface CustomJsonBuilderOptions<TPayload>

interface CustomJsonBuilderOptions<TPayload> {
    account: string;
    id: string;
    payload: TPayload;
    required_auths?: string[];
    required_posting_auths?: string[];
}

Type Parameters

Properties

account: string

Account signing with posting authority.

id: string

Custom JSON protocol id, for example follow, reblog, community, or notify.

payload: TPayload

JSON payload before stringification.

required_auths?: string[]

Optional active/owner authorities for non-posting custom JSON conventions. Defaults to none.

required_posting_auths?: string[]

Override posting authorities. Defaults to [account].