{ "proposal": { "title": "Add Specs: avalanche", "description": "Adding new specification support for relaying avalanche data on Lava", "specs": [ { "index": "AVAX", "name": "avalanche mainnet", "enabled": true, "reliability_threshold": 268435455, "data_reliability_enabled": true, "block_distance_for_finalized_data": 4, "blocks_in_finalization_proof": 3, "average_block_time": 2500, "allowed_block_lag_for_qos_sync": 4, "imports": [ "ETH1" ], "shares": 1, "min_stake_provider": { "denom": "ulava", "amount": "47500000000" }, "api_collections": [ { "enabled": false, "collection_data": { "api_interface": "jsonrpc", "internal_path": "", "type": "POST", "add_on": "" } }, { "enabled": true, "collection_data": { "api_interface": "jsonrpc", "internal_path": "/C/rpc", "type": "POST", "add_on": "" }, "apis": [], "headers": [], "inheritance_apis": [ { "api_interface": "jsonrpc", "internal_path": "", "type": "POST", "add_on": "" } ], "parse_directives": [], "verifications": [ { "name": "chain-id", "values": [ { "expected_value": "0xa86a" } ] }, { "name": "pruning", "values": [ { "latest_distance": 43200 } ] } ], "extensions": [ { "name": "archive", "cu_multiplier": 5, "rule": { "block": 42600 } } ] }, { "enabled": true, "collection_data": { "api_interface": "jsonrpc", "internal_path": "/C/avax", "type": "POST", "add_on": "" }, "apis": [ { "name": "avax.export", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": false, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "avax.exportKey", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": false, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "avax.getAtomicTx", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "avax.getAtomicTxStatus", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "avax.import", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": false, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "avax.importKey", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": false, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "avax.issueTx", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": false, "local": false, "subscription": false, "stateful": 1, "hanging_api": true }, "extra_compute_units": 0 } ], "headers": [], "inheritance_apis": [], "parse_directives": [] }, { "enabled": true, "collection_data": { "api_interface": "jsonrpc", "internal_path": "/P", "type": "POST", "add_on": "" }, "apis": [ { "name": "platform.addDelegator", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": false, "local": false, "subscription": false, "stateful": 1, "hanging_api": true }, "extra_compute_units": 0 }, { "name": "platform.getBlock", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "platform.getBlockchainStatus", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "platform.getCurrentSupply", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "platform.getCurrentValidators", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 15, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "platform.getHeight", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "platform.getMinStake", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "platform.getPendingValidators", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "platform.getStakingAssetID", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "platform.getTimestamp", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "platform.getTotalStake", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "platform.getTx", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "platform.getTxStatus", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "platform.getUTXOs", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "platform.getValidatorsAt", "block_parsing": { "parser_arg": [ "height", ":", "0" ], "parser_func": "PARSE_DICTIONARY_OR_ORDERED" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "platform.issueTx", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": false, "local": false, "subscription": false, "stateful": 1, "hanging_api": true }, "extra_compute_units": 0 }, { "name": "platform.sampleValidators", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": false, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "platform.validatedBy", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "platform.validates", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 } ], "headers": [], "inheritance_apis": [], "parse_directives": [] }, { "enabled": true, "collection_data": { "api_interface": "jsonrpc", "internal_path": "/X", "type": "POST", "add_on": "" }, "apis": [ { "name": "avm.getAssetDescription", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "avm.getBlock", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 15, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "avm.getBlockByHeight", "block_parsing": { "parser_arg": [ "height", ":", "0" ], "parser_func": "PARSE_DICTIONARY_OR_ORDERED" }, "compute_units": 15, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "avm.getHeight", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 15, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "avm.getTxStatus", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "avm.getUTXOs", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": true, "local": false, "subscription": false, "stateful": 0 }, "extra_compute_units": 0 }, { "name": "avm.issueTx", "block_parsing": { "parser_arg": [ "latest" ], "parser_func": "DEFAULT" }, "compute_units": 10, "enabled": true, "category": { "deterministic": false, "local": false, "subscription": false, "stateful": 1, "hanging_api": true }, "extra_compute_units": 0 } ], "headers": [], "inheritance_apis": [], "parse_directives": [] } ] }, { "index": "AVAXT", "name": "avalanche testnet", "enabled": true, "imports": [ "AVAX" ], "reliability_threshold": 268435455, "data_reliability_enabled": true, "block_distance_for_finalized_data": 4, "blocks_in_finalization_proof": 3, "average_block_time": 2500, "allowed_block_lag_for_qos_sync": 4, "shares": 1, "min_stake_provider": { "denom": "ulava", "amount": "47500000000" }, "api_collections": [ { "enabled": true, "collection_data": { "api_interface": "jsonrpc", "internal_path": "/C/rpc", "type": "POST", "add_on": "" }, "apis": [], "headers": [], "inheritance_apis": [], "parse_directives": [], "verifications": [ { "name": "chain-id", "values": [ { "expected_value": "0xa869" } ] } ] } ] } ] }, "deposit": "10000000ulava" }