Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key
Version: 2.0

Add addresses to an aptos stream

POSThttps://api.moralis-streams.com/streams/aptos/:id/address

Adds addresses to an existing aptos stream

PATH PARAMS
idstringrequired
the id of the aptos stream to get the addresses from
BODY PARAM
jsonrequired
Responses
API KEY
// Dependencies to install:
// $ npm install node-fetch --save
// add "type": "module" to package.json

import fetch from 'node-fetch';

const options = {
method: 'POST',
headers: {
accept: 'application/json',
'X-API-Key': 'YOUR_API_KEY'
},
};

fetch('https://api.moralis-streams.com/streams/aptos/%3Aid/address', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Response Example
Empty