--- /dev/null
+//! SPDX-FileCopyrightText: 2026 Chris Duncan <chris@codecow.com>
+//! SPDX-License-Identifier: GPL-3.0-or-later
+
+export const account_representative = Object.freeze({
+ fields: [
+ 'representative',
+ ],
+})
--- /dev/null
+//! SPDX-FileCopyrightText: 2026 Chris Duncan <chris@codecow.com>
+//! SPDX-License-Identifier: GPL-3.0-or-later
+
+export const accounts_balances = Object.freeze({
+ fields: [
+ 'balances',
+ ],
+ balances: {
+ address: {
+ fields: [
+ 'balance',
+ 'receivable',
+ ],
+ },
+ },
+})
--- /dev/null
+//! SPDX-FileCopyrightText: 2026 Chris Duncan <chris@codecow.com>
+//! SPDX-License-Identifier: GPL-3.0-or-later
+
+export const accounts_frontiers = Object.freeze({
+ fields: [
+ 'errors',
+ 'frontiers',
+ ],
+ errors: {
+ address: {
+ error: {},
+ },
+ },
+ frontiers: {
+ address: {
+ hash: {},
+ },
+ },
+})
--- /dev/null
+//! SPDX-FileCopyrightText: 2026 Chris Duncan <chris@codecow.com>
+//! SPDX-License-Identifier: GPL-3.0-or-later
+
+export const accounts_representatives = Object.freeze({
+ fields: [
+ 'representatives',
+ ],
+ errors: {
+ address: {
+ error: {},
+ },
+ },
+ representatives: {
+ address: {
+ representative: {},
+ },
+ },
+})
//! SPDX-License-Identifier: GPL-3.0-or-later
export const block_info = Object.freeze({
+ fields: [
+ 'amount',
+ 'balance',
+ 'block_account',
+ 'confirmed',
+ 'contents',
+ 'height',
+ 'linked_account',
+ 'local_timestamp',
+ 'subtype',
+ 'successor',
+ ],
contents: {
fields: [
'account',
'work',
],
},
- fields: [
- 'amount',
- 'balance',
- 'block_account',
- 'confirmed',
- 'contents',
- 'height',
- 'linked_account',
- 'local_timestamp',
- 'subtype',
- 'successor',
- ],
})
--- /dev/null
+//! SPDX-FileCopyrightText: 2026 Chris Duncan <chris@codecow.com>
+//! SPDX-License-Identifier: GPL-3.0-or-later
+
+export const blocks_info = Object.freeze({
+ fields: [
+ 'blocks',
+ ],
+ blocks: {
+ hash: {
+ fields: [
+ 'amount',
+ 'balance',
+ 'block_account',
+ 'confirmed',
+ 'contents',
+ 'height',
+ 'linked_account',
+ 'local_timestamp',
+ 'subtype',
+ 'successor',
+ ],
+ contents: {
+ fields: [
+ 'account',
+ 'balance',
+ 'link',
+ 'link_as_account',
+ 'previous',
+ 'representative',
+ 'signature',
+ 'type',
+ 'work',
+ ],
+ },
+ },
+ },
+})
//! SPDX-License-Identifier: GPL-3.0-or-later
export const process = Object.freeze({
+ fields: [
+ 'action',
+ 'async',
+ 'block',
+ 'json_block',
+ 'subtype',
+ ],
block: {
fields: [
'account',
'work',
],
},
- fields: [
- 'action',
- 'async',
- 'block',
- 'json_block',
- 'subtype',
- ],
})
//! SPDX-FileCopyrightText: 2026 Chris Duncan <chris@codecow.com>
//! SPDX-License-Identifier: GPL-3.0-or-later
import { account_info } from './account_info'
+import { account_representative } from './account_representative'
+import { accounts_balances } from './accounts_balances'
+import { accounts_frontiers } from './accounts_frontiers'
+import { accounts_representatives } from './accounts_representatives'
import { block_info } from './block_info'
+import { blocks_info } from './blocks_info'
import { process } from './process'
export const Schema = Object.freeze({
account_info,
+ account_representative,
+ accounts_balances,
+ accounts_frontiers,
+ accounts_representatives,
block_info,
+ blocks_info,
process,
})