/** * Type of API endpoint for request routing */ declare enum EndlessApiType { FULLNODE = "Fullnode", INDEXER = "Indexer", FAUCET = "Faucet", INDEXERV2 = "Indexer2", PEPPER = "Pepper", PROVER = "Prover" } /** * The default max gas amount when none is given. * * This is the maximum number of gas units that will be used by a transaction before being rejected. * * Note that max gas amount varies based on the transaction. A larger transaction will go over this * default gas amount, and the value will need to be changed for the specific transaction. */ declare const DEFAULT_MAX_GAS_AMOUNT = 100000; /** * The default transaction expiration seconds from now. * * This time is how long until the blockchain nodes will reject the transaction. * * Note that the transaction expiration time varies based on network connection and network load. It may need to be * increased for the transaction to be processed. */ declare const DEFAULT_TXN_EXP_SEC_FROM_NOW = 20; /** * The default number of seconds to wait for a transaction to be processed. * * This time is the amount of time that the SDK will wait for a transaction to be processed when waiting for * the results of the transaction. It may take longer based on network connection and network load. */ declare const DEFAULT_TXN_TIMEOUT_SEC = 20; /** * The default gas currency for the network. */ declare const ENDLESS_COIN = "0x1::endless_coin::EndlessCoin"; declare const ENDLESS_COIN_ID = "ENDLESSsssssssssssssssssssssssssssssssssssss"; declare const RAW_TRANSACTION_SALT = "ENDLESS::RawTransaction"; declare const RAW_TRANSACTION_WITH_DATA_SALT = "ENDLESS::RawTransactionWithData"; export { DEFAULT_MAX_GAS_AMOUNT, DEFAULT_TXN_EXP_SEC_FROM_NOW, DEFAULT_TXN_TIMEOUT_SEC, ENDLESS_COIN, ENDLESS_COIN_ID, EndlessApiType, RAW_TRANSACTION_SALT, RAW_TRANSACTION_WITH_DATA_SALT };