There is no documentation at the moment, but there are some rumors. And experemental way I've made sure about few end-points are working good:
GET: https://www.etherchain.org/api/account/0xAAAsomeADDR00000000000/
Will return something like that:
{| FROM php:7.2-fpm | |
| # Replace shell with bash so we can source files | |
| RUN rm /bin/sh && ln -s /bin/bash /bin/sh | |
| # make sure apt is up to date | |
| RUN apt-get update --fix-missing | |
| RUN apt-get install -y curl | |
| RUN apt-get install -y build-essential libssl-dev zlib1g-dev libpng-dev libjpeg-dev libfreetype6-dev |
| ##PHP-FPM | |
| RUN apt-get update -yqq && \ | |
| apt-get install -y build-essential libtool autoconf pkg-config libsodium-dev libzmq-dev && \ | |
| echo '' | pecl install -o -f zmq-beta && rm -rf /tmp/pear && \ | |
| echo "extension=zmq.so" > /usr/local/etc/php/conf.d/zmq.ini \ | |
| ##WORCKSPACE | |
| RUN apt-get update -yqq && \ | |
| apt-get install -y build-essential libtool autoconf pkg-config libsodium-dev libzmq-dev && \ | |
| echo '' | pecl install -o -f zmq-beta && rm -rf /tmp/pear && \ |
There is no documentation at the moment, but there are some rumors. And experemental way I've made sure about few end-points are working good:
GET: https://www.etherchain.org/api/account/0xAAAsomeADDR00000000000/
Will return something like that:
{| <?php declare(strict_types=1); | |
| namespace Tests\Feature; | |
| use Illuminate\Foundation\Testing\DatabaseMigrations; | |
| use Illuminate\Contracts\Console\Kernel; | |
| /** | |
| * Some functionality for TestCases | |
| * |
| <?php | |
| namespace App\Http\Middleware; | |
| use Closure; | |
| use Symfony\Component\HttpFoundation\Response; | |
| /** | |
| * The after middleware to allow specific Access-Control-Allow-Origin | |
| */ |
| APP_ENV=testing | |
| APP_DEBUG=true | |
| APP_KEY=RMme3vqJUaNAxVi5kq33xBgRAxmp7yXU | |
| DB_HOST=localhost | |
| DB_DATABASE=test | |
| DB_USERNAME=root | |
| DB_PASSWORD= | |
| CACHE_DRIVER=array |
| /** | |
| * Trait DecoratorTrait | |
| * | |
| * Have to implemented: | |
| * @method getDecoratedObject() | |
| * @static $decoratedClass | |
| */ | |
| trait DecoratorTrait | |
| { | |
| /** |
| <?php | |
| /** | |
| * Trait Decorator | |
| * | |
| * Required on host | |
| * @method getDecoratedObject() | |
| */ | |
| trait Decorator | |
| { |
| #!/bin/bash | |
| echo "Dirs" | |
| du -hsx * | sort -rh | head -10 | |
| echo "Files" | |
| find . -type f -printf '%s %p\n'| sort -nr | head -10 |
| #!/bin/bash | |
| function movement() { | |
| local bname=$(basename "$1") | |
| local fbname=${bname%.*} | |
| mv "$1" "${fbname}" | |
| } | |
| find . -name '*.sh' -exec sh -c 'tr -d "\r" < "$0" > "$0.tmp"' '{}' \; | |
| find . -name "*.sh.tmp" | while read file; do movement "$file"; done |