terrapub-
prefixed account public key
The API key to be included in requests sent to the LCD.
terravaloper-
prefixed validator operator address
terravalcons-
prefixed validator consensus address
terravaloperpub-
prefixed validator public key
Template tagged literal for creating new Dec objects out of literal string.
This does not support literal string interpolation with ${}
.
Usage is:
import { dec } from "@terra-money/terra.js";
const dec1 = dec`234.12312`;
const dec2 = new Dec("234.12312");
dec1.equals(dec2);
Calculates the transaction hash from Amino-encoded string.
Amino-encoded string (base64)
Template tagged literal for creating new Int objects out of literal string.
This does not support literal string interpolation with ${}
.
Usage is:
import { int } from "@terra-money/terra.js";
const int1 = int`234`;
const int2 = new Int("234");
int1.equals(int2);
Calculates the transaction hash from Amino-encoded string.
raw bytes
terra-
prefixed account address