arthurpatriot/thepower-sdk 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

arthurpatriot/thepower-sdk

最新稳定版本:v0.1.1

Composer 安装命令:

composer require arthurpatriot/thepower-sdk

包简介

Production ready SDK for ThePower.io API

README 文档

README

Production ready SDK for ThePower.io API

Installation

Install via composer

  composer require arthurpatriot/thepower-sdk

Create new API Client

use ThePower\PowerClient;

$client = new PowerClient('{NODE_URL}');

Example, {NODE_URL} is https://power-node.allsteeply.com:1443.

Usage

Get Status

$client->status();

Get Node Status

Get current status of the addressed node

$client->nodeStatus();

Get Settings

Get current chain parameters

$client->settings();

Get Block Info

Get information about the block without transactions

$client->blockInfo('{HASH}');

Where {HASH} is hash of the block for which the information is needed.

Get Block

Get information about the block

$client->block('{HASH}');

Where {HASH} hash of the block for which the information is needed.

Where Address

The definition of chain belonging to address.

$client->where('{ADDRESS}');

Where {ADDRESS} is the address of the wallet in textual or binary representation in hex format.

Get Address Info

Information about a wallet with a given address.

$client->address('{ADDRESS}');

Where {ADDRESS} is the address of the wallet in textual or binary representation in hex format.

Acknowledgements

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固