RE: SteemJS: Now the package available on client side!

You are viewing a single comment's thread from:

SteemJS: Now the package available on client side!

in steemjs •  8 years ago 

Unfortunately code

                < script src="https://cdn.steemjs.com/lib/steem.min.js">
                </ script>
                < script>
                    steem.api.getState('/trends/funny', function(err, result) {
            console.log(err, result);
        });
                </ script>

Doesn't work:

(index):22 Uncaught TypeError: Cannot read property 'getState' of undefined(anonymous function) @ (index):22
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!