neoneo-go/pkg/rpc/client/doc.go

79 lines
1.3 KiB
Go
Raw Normal View History

/*
Package client implements NEO-specific JSON-RPC 2.0 client.
This package is currently in alpha and is subject to change.
Client
After creating a client instance with or without a ClientConfig
you can interact with the NEO blockchain by its exposed methods.
Some of the methods also allow to pass a verbose bool. This will
return a more pretty printed response from the server instead of
a raw hex string.
TODO:
Allow client to connect using client cert.
More in-depth examples.
Supported methods
2021-09-08 10:02:14 +00:00
calculatenetworkfee
2022-01-17 09:00:56 +00:00
findstates
getapplicationlog
getbestblockhash
getblock
getblockcount
getblockhash
getblockheader
2021-09-08 10:02:14 +00:00
getblockheadercount
getcommittee
getconnectioncount
getcontractstate
2021-09-08 10:02:14 +00:00
getnativecontracts
2021-11-17 21:08:10 +00:00
getnep11balances
getnep11properties
getnep11transfers
getnep17balances
getnep17transfers
getpeers
getrawmempool
getrawtransaction
2022-01-17 09:00:56 +00:00
getstate
2021-09-08 10:02:14 +00:00
getstateheight
getstateroot
getstorage
gettransactionheight
getunclaimedgas
2021-09-08 10:02:14 +00:00
getnextblockvalidators
getversion
invokefunction
invokescript
2021-09-08 10:02:14 +00:00
invokecontractverify
sendrawtransaction
submitblock
2021-09-08 10:02:14 +00:00
submitoracleresponse
validateaddress
2021-09-08 10:02:14 +00:00
Extensions:
getblocksysfee
submitnotaryrequest
Unsupported methods
claimgas
dumpprivkey
getbalance
getmetricblocktimestamp
getnewaddress
getwalletheight
importprivkey
listaddress
listplugins
sendfrom
sendmany
sendtoaddress
*/
package client