Creates exchange transaction filling order fully or partially.
`Command syntax:`
```actionscript
srv_xchange purchase
-order <order hash>
-net <net_name>
-w <wallet_name>
-value <value>
-fee <value>
```
`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
-w - name of the wallet
-value - amount of datoshi user wants to sell corresponding to rate specified in the order
-fee - comission in datoshi
```
### CLI Example
`Command:`
```actionscript
cellframe-node-cli srv_xchange purchase
-order 0x72FBB3ED3708074B229D7D8D46404E26347AEEFB3EC2F3B56A0CD4BE4AD1BBFB
-net riemann
-w testwallet
-value 1.0e+18
-fee 0.01e+18
```
`Response:`
```
Exchange transaction has done. tx hash: 0xA66DEC0DF85EAFA9D7C1284DF1D5A5DA83195BB1EC734A6B9A0FF10DF7AC20BD
```
### JSON-RPC Example
![[JSON-RPC Request - SRV_XCHANGE PURCHASE]]