[ 'mainnet' => [ 'url' => env('BSCSCAN_API_URL', 'https://api.bscscan.com/api'), 'key' => env('BSCSCAN_API_KEY'), 'timeout' => env('BSCSCAN_TIMEOUT', 30), 'retry' => [ 'times' => env('BSCSCAN_RETRY_TIMES', 3), 'delay' => env('BSCSCAN_RETRY_DELAY', 1000), // 毫秒 ], 'rate_limit' => env('BSCSCAN_RATE_LIMIT', 5), // 每秒请求数 ], 'testnet' => [ 'url' => env('BSCSCAN_TESTNET_API_URL', 'https://api-testnet.bscscan.com/api'), 'key' => env('BSCSCAN_TESTNET_API_KEY'), 'timeout' => env('BSCSCAN_TIMEOUT', 30), 'retry' => [ 'times' => env('BSCSCAN_RETRY_TIMES', 3), 'delay' => env('BSCSCAN_RETRY_DELAY', 1000), ], 'rate_limit' => env('BSCSCAN_RATE_LIMIT', 5), ], ], 'endpoints' => [ 'account' => [ 'balance' => [ 'action' => 'balance', 'module' => 'account', ], 'token_balance' => [ 'action' => 'tokenbalance', 'module' => 'account', ], 'transactions' => [ 'action' => 'txlist', 'module' => 'account', ], 'token_transactions' => [ 'action' => 'tokentx', 'module' => 'account', ], ], 'proxy' => [ 'gas_price' => [ 'action' => 'eth_gasPrice', 'module' => 'proxy', ], 'transaction' => [ 'action' => 'eth_getTransactionByHash', 'module' => 'proxy', ], 'transaction_receipt' => [ 'action' => 'eth_getTransactionReceipt', 'module' => 'proxy', ], ], ], 'contracts' => [ 'usdt' => [ 'address' => env('BSC_USDT_CONTRACT_ADDRESS','0x8de2fa0c3a530f68663827bfe2ee2f8b1873f148'), 'decimals' => env('BSC_USDT_DECIMALS', 18), ], 'uraus' => [ 'address' => env('BSC_URAUS_CONTRACT_ADDRESS','0x55d398326f99059fF775485246999027B3197955'), 'decimals' => env('BSC_URAUS_DECIMALS', 18), ], ], ];