Polkadot Apps
    Preparing search index...

    Interface AuthorizationStatus

    Authorization status for a Bulletin Chain account.

    Returned by checkAuthorization to enable pre-flight checks before uploading. Consumers can use this to show "not authorized" or "insufficient quota" messages instead of letting the transaction fail.

    interface AuthorizationStatus {
        authorized: boolean;
        expiration: number;
        remainingBytes: bigint;
        remainingTransactions: number;
    }
    Index

    Properties

    authorized: boolean

    Whether an authorization entry exists for this account.

    expiration: number

    Block number when the authorization expires. 0 if not authorized.

    remainingBytes: bigint

    Remaining bytes allowed. 0n if not authorized.

    remainingTransactions: number

    Remaining transactions allowed. 0 if not authorized.