Documentation ¶
Index ¶
- Constants
- func CallRPC(endpoint string, object interface{}, method string, params ...interface{}) error
- func Comment(endpoint, comment, destination string) (rpc.Transfer_Result, error)
- func GetEncryptedBalance(endpoint, address string) (*rpc.GetEncryptedBalance_Result, error)
- func GetSCID(endpoint, scid string) (*rpc.GetSC_Result, error)
- func GetWalletAddress(endpoint string) (*rpc.Address, error)
- func GetWalletTransfers(endpoint string) (*rpc.Get_Transfers_Result, error)
- func MakeIntegratedAddress(comment string, price uint64, expiry time.Time) (rpc.Make_Integrated_Address_Result, error)
- func MintContract(endpoint, contract, destination string) (rpc.Transfer_Result, error)
- func NFAContract(royalty, nameHdr, descHdr, typeHdr, collection, addr string) string
Constants ¶
View Source
const DERO_SCID_STRING = "0000000000000000000000000000000000000000000000000000000000000000"
Variables ¶
This section is empty.
Functions ¶
func CallRPC ¶
CallRPC is a generic function to make JSON-RPC calls to either the DERO wallet or node.
func GetEncryptedBalance ¶
func GetEncryptedBalance(endpoint, address string) (*rpc.GetEncryptedBalance_Result, error)
GetEncryptedBalance fetches the encrypted balance for the given address.
func GetSCID ¶
func GetSCID(endpoint, scid string) (*rpc.GetSC_Result, error)
GetSCID fetches the SCID for the given TXID.
func GetWalletAddress ¶
GetWalletAddress fetches the DERO wallet address.
func GetWalletTransfers ¶
func GetWalletTransfers(endpoint string) (*rpc.Get_Transfers_Result, error)
func MakeIntegratedAddress ¶
func MintContract ¶
func MintContract( endpoint, contract, destination string, ) (rpc.Transfer_Result, error)
func NFAContract ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.