Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

148
Views
Recibo el error `userCoins.get is not a function` cuando `anchor-earn` intenta obtener el saldo de una billetera

Al usar AnchorEarn desde el módulo @anchor-protocol/anchor-earn para obtener un saldo

 import { AnchorEarn } from '@anchor-protocol/anchor-earn' const userBalance = await anchorEarn.balance({ currencies: [DENOMS.UST], });

Estoy teniendo el siguiente error:

 userCoins.get is not a function

Estoy usando el siguiente script para instalarlo npm i @anchor-protocol/anchor-earn y estoy siguiendo el script de muestra en el sitio web de Anchor, ¿alguna idea de lo que podría estar pasando aquí?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Use la siguiente línea para instalar anchor-earn :

 npm install -S @anchor-protocol/anchor-earn@2.0.0-alpha1
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!