github.com/iotexproject/iotex-core@v1.14.1-rc1/tools/ioctl/readme/ioctl_xrc20_approve.md (about)

     1  ## ioctl xrc20 approve
     2  
     3  Allow spender to withdraw from your account, multiple times, up to the amount
     4  
     5  ### Synopsis
     6  
     7  Allow spender to withdraw from your account, multiple times, up to the amount
     8  
     9  ```
    10  ioctl xrc20 approve (ALIAS|SPENDER_ADDRESS) (XRC20_AMOUNT) -c ALIAS|CONTRACT_ADDRESS [-s SIGNER] [-n NONCE] [-l GAS_LIMIT] [-p GAS_PRICE] [-P PASSWORD] [-y] [flags]
    11  ```
    12  
    13  ### Options
    14  
    15  ```
    16    -y, --assume-yes         answer yes for all confirmations
    17    -l, --gas-limit uint     set gas limit (default 20000000)
    18    -p, --gas-price string   set gas price (unit: 10^(-6)IOTX), use suggested gas price if input is "0" (default "1")
    19    -h, --help               help for approve
    20    -n, --nonce uint         set nonce (default using pending nonce)
    21    -P, --password string    input password for account
    22    -s, --signer string      choose a signing account
    23  ```
    24  
    25  ### Options inherited from parent commands
    26  
    27  ```
    28    -c, --contract-address string   set contract address
    29        --endpoint string           set endpoint for once
    30        --insecure                  insecure connection for once (default false)
    31    -o, --output-format string      output format
    32  ```
    33  
    34  ### SEE ALSO
    35  
    36  * [ioctl xrc20](ioctl_xrc20.md)	 - Support ERC20 standard command-line
    37  
    38  ###### Auto generated by docgen on 7-Mar-2022