Shows average rate for token pair. `Command syntax:` ``` srv_xchange token_pair rate average -net <net_name> -token_from <token_ticker> -token_to <token_ticker> [-time_from <From time>] [-time_to <To time>] ``` `Options:` ```actionscript -net - name of the Cellframe Network. The list of networks can be found in the <Config_dir> \ etc \ network folder or received by The Cellframe-Node-CLI using command - net list -token_from - ticker of token is being sold -token_to - ticker of token is being bought -time_from - filtration by time since specified value (optional) -time_to - filtration by time until specified value (optional) ``` ### CLI Example `Command:` ```actionscript cellframe-node-cli srv_xchange token_pair rate average -net KelVPN -token_from KEL -token_to CELL ``` `Response:` ``` Average rate: 0.762800000000000001 Last rate: 1.0 Last rate time: Wed Feb 28 09:55:46 2024 (1709114146) ``` ### JSON-RPC Example ![[JSON-RPC Request - SRV_XCHANGE TOKEN_PAIR RATE]]