Download the PHP package trtlservices/ts-api-php without Composer
On this page you can find all versions of the php package trtlservices/ts-api-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download trtlservices/ts-api-php
More information about trtlservices/ts-api-php
Files in trtlservices/ts-api-php
Package ts-api-php
Short Description PHP wrapper for TRTL Services RESTFUL API.
License AGPL-3.0
Homepage https://trtl.services
Informations about the package ts-api-php
TRTL Service PHP API Interface
This wrapper allows you to easily interact with the TRTL Services 0.9.0 API to quickly develop applications that interact with the TurtleCoin Network.
Table of Contents
- Installation
- Intialization
- Documentation
- Methods
Installation
Intialization
Reponse Formattng
Documentation
API documentation is available at https://trtl.services/docs
Methods
createAddress()
Create a new TRTL addresses
getAddress(address)
Get address details by address
deleteAddress(address)
Delete a selected TRTL addresses
getAddresses()
View all addresses.
scanAddress(address, blockIndex)
Scan an address for transactions between a 100 block range starting from the specified blockIndex.
getAddressKeys(address)
Get the public and secret spend key of an address.
integrateAddress(address, paymentId)
Create an integrated address with an address and payment ID.
getIntegratedAddresses(address)
Get all integrated addresses by address.
getFee(amount)
Calculate the TRTL Services fee for an amount specified in TRTL with two decimal points.
createTransfer(sender, receiver, amount, fee, paymentId, extra)
Send a TRTL transaction with an address with the amount specified two decimal points.
You can leave the last two fields (paymentId and extra) blank.
getTransfer(address)
Get a transaction details specified by transaction hash.
getWallet()
Get wallet container info and health check.
getStatus()
Get the current status of the TRTL Services infrastructure.