Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 709 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 709 Bytes

bento-data

Current Queries Supported

import bentoData from '@sushiswap/bento-data';

bentoData.bento
    .info()
    .then(info => console.log(info))

  bentoData.bento
    .masterContractApproval()
    .then(approvals => console.log(approvals))

  bentoData.bento
    .lendingPairs()
    .then(pairs => console.log(pairs))

  bentoData.bento
    .deposits()
    .then(deposits => console.log(deposits))

  bentoData.bento
    .withdrawals()
    .then(withdrawals => console.log(withdrawals))

  bentoData.bento
    .tokens()
    .then(tokens => console.log(tokens))

  bentoData.bento
    .userInfo("0x4f65e6157b6083b1121552c288ad938e394f144a")
    .then(user => console.log(user))