Support beacon chain (#436)
This commit is contained in:
@@ -1,5 +1,18 @@
|
||||
package io.emeraldpay.dshackle
|
||||
|
||||
enum class BlockchainType {
|
||||
UNKNOWN, BITCOIN, ETHEREUM, STARKNET, POLKADOT, SOLANA, NEAR;
|
||||
enum class BlockchainType(
|
||||
val apiType: ApiType,
|
||||
) {
|
||||
UNKNOWN(ApiType.JSON_RPC),
|
||||
BITCOIN(ApiType.JSON_RPC),
|
||||
ETHEREUM(ApiType.JSON_RPC),
|
||||
STARKNET(ApiType.JSON_RPC),
|
||||
POLKADOT(ApiType.JSON_RPC),
|
||||
SOLANA(ApiType.JSON_RPC),
|
||||
NEAR(ApiType.JSON_RPC),
|
||||
ETHEREUM_BEACON_CHAIN(ApiType.REST);
|
||||
}
|
||||
|
||||
enum class ApiType {
|
||||
JSON_RPC, REST;
|
||||
}
|
||||
Reference in New Issue
Block a user