i want to fetch tx rate , rx rate from interface using api , but how to ? screenshot for references thanks