Update api.tx

Fixed small typo