Interface CosmosAccountResponse

Information returned by the REST API getAccount route.

Note this should be converted into AccountDoc or BitBadgesUserInfo before being returned by the BitBadges API for consistency.

interface CosmosAccountResponse {
    account_number: number;
    address: string;
    pub_key: {
        key: string;
    };
    sequence: number;
}

Properties

account_number: number
address: string
pub_key: {
    key: string;
}
sequence: number