Params
curl --request GET \
--url https://cosmos-rest.publicnode.com/cosmos/auth/v1beta1/paramsimport requests
url = "https://cosmos-rest.publicnode.com/cosmos/auth/v1beta1/params"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://cosmos-rest.publicnode.com/cosmos/auth/v1beta1/params', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://cosmos-rest.publicnode.com/cosmos/auth/v1beta1/params",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://cosmos-rest.publicnode.com/cosmos/auth/v1beta1/params"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://cosmos-rest.publicnode.com/cosmos/auth/v1beta1/params")
.asString();require 'uri'
require 'net/http'
url = URI("https://cosmos-rest.publicnode.com/cosmos/auth/v1beta1/params")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"params": {
"max_memo_characters": "<string>",
"tx_sig_limit": "<string>",
"tx_size_cost_per_byte": "<string>",
"sig_verify_cost_ed25519": "<string>",
"sig_verify_cost_secp256k1": "<string>",
"sig_verify_cost_mldsa65": "<string>"
}
}{
"code": 123,
"message": "<string>",
"details": [
{
"@type": "<string>"
}
]
}auth
Params
gRPC: cosmos.auth.v1beta1.Query/Params (reference)
Params queries all parameters.
GET
/
cosmos
/
auth
/
v1beta1
/
params
Params
curl --request GET \
--url https://cosmos-rest.publicnode.com/cosmos/auth/v1beta1/paramsimport requests
url = "https://cosmos-rest.publicnode.com/cosmos/auth/v1beta1/params"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://cosmos-rest.publicnode.com/cosmos/auth/v1beta1/params', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://cosmos-rest.publicnode.com/cosmos/auth/v1beta1/params",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://cosmos-rest.publicnode.com/cosmos/auth/v1beta1/params"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://cosmos-rest.publicnode.com/cosmos/auth/v1beta1/params")
.asString();require 'uri'
require 'net/http'
url = URI("https://cosmos-rest.publicnode.com/cosmos/auth/v1beta1/params")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"params": {
"max_memo_characters": "<string>",
"tx_sig_limit": "<string>",
"tx_size_cost_per_byte": "<string>",
"sig_verify_cost_ed25519": "<string>",
"sig_verify_cost_secp256k1": "<string>",
"sig_verify_cost_mldsa65": "<string>"
}
}{
"code": 123,
"message": "<string>",
"details": [
{
"@type": "<string>"
}
]
}Response
A successful response.
QueryParamsResponse is the response type for the Query/Params RPC method.
params defines the parameters of the module.
Show child attributes
Show child attributes
Was this page helpful?