/* tslint:disable */ /* eslint-disable */ /** * Fireblocks API * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import { BlockchainRpcAuth } from './blockchain-rpc-auth'; /** * Declared properties for blockchain configuration (create/update API and response) Only the fields sent by the API and returned in list/create/update responses. * @export * @interface BlockchainDeclaredProperties */ export interface BlockchainDeclaredProperties { /** * Human-readable name of the blockchain. * @type {string} * @memberof BlockchainDeclaredProperties */ 'chainName': string; /** * EVM chain ID of the blockchain. * @type {number} * @memberof BlockchainDeclaredProperties */ 'chainId': number; /** * Native asset symbol of the blockchain. * @type {string} * @memberof BlockchainDeclaredProperties */ 'symbolName': string; /** * RPC endpoint URLs for the blockchain. * @type {Array} * @memberof BlockchainDeclaredProperties */ 'rpcUrls': Array; /** * Network environment (mainnet or testnet). * @type {string} * @memberof BlockchainDeclaredProperties */ 'environmentType': BlockchainDeclaredPropertiesEnvironmentTypeEnum; /** * Number of decimals for the native asset. * @type {number} * @memberof BlockchainDeclaredProperties */ 'decimals'?: number; /** * Base URL of the block explorer. * @type {string} * @memberof BlockchainDeclaredProperties */ 'blockExplorerUrl'?: string; /** * Path template for a transaction on the block explorer. * @type {string} * @memberof BlockchainDeclaredProperties */ 'blockExplorerTransactionPath'?: string; /** * Path template for an address on the block explorer. * @type {string} * @memberof BlockchainDeclaredProperties */ 'blockExplorerAddressPath'?: string; /** * EVM network ID of the blockchain. * @type {number} * @memberof BlockchainDeclaredProperties */ 'networkId'?: number; /** * Whether the blockchain charges transaction fees. * @type {boolean} * @memberof BlockchainDeclaredProperties */ 'hasFee'?: boolean; /** * Whether the blockchain uses proof-of-authority consensus. * @type {boolean} * @memberof BlockchainDeclaredProperties */ 'isPoa'?: boolean; /** * Whether the blockchain uses a layered fee model. * @type {boolean} * @memberof BlockchainDeclaredProperties */ 'hasLayeredFee'?: boolean; /** * Node client type for the blockchain. * @type {string} * @memberof BlockchainDeclaredProperties */ 'nodeType'?: BlockchainDeclaredPropertiesNodeTypeEnum; /** * Transaction format identifier. * @type {number} * @memberof BlockchainDeclaredProperties */ 'transactionFormat'?: number; /** * Tenant IDs that share this base asset. * @type {Array} * @memberof BlockchainDeclaredProperties */ 'baseAssetTenantIds'?: Array; /** * Block explorer API base URL. * @type {string} * @memberof BlockchainDeclaredProperties */ 'explorerApiUrl'?: string; /** * API key for the block explorer API. * @type {string} * @memberof BlockchainDeclaredProperties */ 'explorerApiKey'?: string; /** * Whether trace/debug RPC methods are enabled. * @type {boolean} * @memberof BlockchainDeclaredProperties */ 'isTraceEnabled'?: boolean; /** * * @type {BlockchainRpcAuth} * @memberof BlockchainDeclaredProperties */ 'rpcAuth'?: BlockchainRpcAuth; } export const BlockchainDeclaredPropertiesEnvironmentTypeEnum = { Mainnet: 'ENVIRONMENT_TYPE_MAINNET', Testnet: 'ENVIRONMENT_TYPE_TESTNET' } as const; export type BlockchainDeclaredPropertiesEnvironmentTypeEnum = typeof BlockchainDeclaredPropertiesEnvironmentTypeEnum[keyof typeof BlockchainDeclaredPropertiesEnvironmentTypeEnum]; export const BlockchainDeclaredPropertiesNodeTypeEnum = { CoreGeth: 'NODE_TYPE_CORE_GETH', Fantom: 'NODE_TYPE_FANTOM', Erigon: 'NODE_TYPE_ERIGON', Parity: 'NODE_TYPE_PARITY', Besu: 'NODE_TYPE_BESU' } as const; export type BlockchainDeclaredPropertiesNodeTypeEnum = typeof BlockchainDeclaredPropertiesNodeTypeEnum[keyof typeof BlockchainDeclaredPropertiesNodeTypeEnum];