
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@radixdlt/alphanet-gateway-api-v0-sdk
Advanced tools
This SDK is a thin wrapper around the Babylon V0 Gateway API, detailed in [the Open API schema](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/radixdlt/babylon-alphanet/main/gateway-api-v0/gateway-api-v0-schema.yaml).
This SDK is a thin wrapper around the Babylon V0 Gateway API, detailed in the Open API schema.
Behind the scenes, this library uses the fetch API.
If in an environment where this is not available, a polyfill must be used.
An example using this with node is provided here in the github repo.
import "./node-fetch-polyfill" // Polyfill for fetch required if running in node-js
import { TransactionApi, StateApi } from "@radixdlt/alphanet-gateway-api-v0-sdk";
const transactionApi = new TransactionApi();
const stateApi = new StateApi();
async function getEpoch() {
let response = await stateApi.stateEpochPost();
return response.epoch;
}
async function getTransactionStatus(transactionIntentHashHex: string) {
let response = await transactionApi.transactionStatusPost({
v0TransactionStatusRequest: {
intent_hash: transactionIntentHashHex
}
});
return response.intent_status;
}
FAQs
This SDK is a thin wrapper around the Babylon V0 Gateway API, detailed in [the Open API schema](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/radixdlt/babylon-alphanet/main/gateway-api-v0/gateway-api-v0-schema.yaml).
We found that @radixdlt/alphanet-gateway-api-v0-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.