import { Crevio } from "@crevio/sdk";
const crevio = new Crevio({
apiKey: process.env["CREVIO_API_KEY"] ?? "",
});
async function run() {
const result = await crevio.x402Configuration.get();
console.log(result);
}
run();{
"object": "<string>",
"x402_enabled": {},
"x402_wallet_address": {},
"x402_chain": {},
"currency": "<string>"
}Returns the x402 payment configuration for the current account
import { Crevio } from "@crevio/sdk";
const crevio = new Crevio({
apiKey: process.env["CREVIO_API_KEY"] ?? "",
});
async function run() {
const result = await crevio.x402Configuration.get();
console.log(result);
}
run();{
"object": "<string>",
"x402_enabled": {},
"x402_wallet_address": {},
"x402_chain": {},
"currency": "<string>"
}Was this page helpful?