You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to query transactions on columbus-5 using the Terra SDK's, but I can't get a simple request to work, I keep getting LCDResponseError: Status 403 - None.
Is there anything special I need to do? I don't see anything about an API key or permissions in the docs. Here's the basic code I'm using, most of which is copy/pasta from the docs.
import fetch from "isomorphic-fetch";
import { Coins, LCDClient } from "@terra-money/terra.js";
const lcd = async function() {
try{const gasPrices = await(
await fetch("https://columbus-api.terra.dev/gas-prices", {
redirect: "follow",
})
).json();
const gasPricesCoins = new Coins(gasPrices);
const lcd = new LCDClient({
URL: "https://columbus-lcd.terra.dev/",
chainID: "columbus-5",
gasPrices: gasPricesCoins,
gasAdjustment: "1.5",
gas: 10000000,
isClassic: true, // false by default, change to true if you want to interact with Terra Classic
});
return lcd}
catch(err) {
console.error(`🚫 Error:`, err)
}
}
lcd().then(client => console.log( client.tx.search({"message.sender": "terra14gct05rklfakrqey072hpc8x63wjkzr5mcgfpw"}) ))
This resulted in a get request to: https://columbus-lcd.terra.dev/cosmos/tx/v1beta1/txs?message.sender=terra14gct05rklfakrqey072hpc8x63wjkzr5mcgfpw
The text was updated successfully, but these errors were encountered:
Hi, I am trying to query transactions on columbus-5 using the Terra SDK's, but I can't get a simple request to work, I keep getting
LCDResponseError: Status 403 - None
.Is there anything special I need to do? I don't see anything about an API key or permissions in the docs. Here's the basic code I'm using, most of which is copy/pasta from the docs.
This resulted in a get request to:
https://columbus-lcd.terra.dev/cosmos/tx/v1beta1/txs?message.sender=terra14gct05rklfakrqey072hpc8x63wjkzr5mcgfpw
The text was updated successfully, but these errors were encountered: