cURL
curl --request POST \ --url https://api.moralis-streams.com/streams/bitcoin/{id}/xpub \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "xpub": "<string>" } '
{ "id": "<string>", "streamId": "<string>", "xpub": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Stringified UUIDv4. See RFC 4112
[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}
Ok