From 87a94654f419eec68af0f6d6bb0e53f0b2efdeb5 Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 18 Feb 2024 01:48:55 +0200 Subject: [PATCH] append method documentation --- src/Client.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/Client.php b/src/Client.php index f08e65f..0f96ed4 100644 --- a/src/Client.php +++ b/src/Client.php @@ -389,6 +389,24 @@ class Client return null; } + /* + * keva_put "namespace" "key" "value" "address" + * + * Insert or update a key value pair in the given namespace. + * + * Arguments: + * 1. "namespace" (string, required) the namespace to insert the key to + * 2. "key" (string, required) value for the key + * 3. "value" (string, required) value for the name + * 4. "address" (string, optional) transfer the namespace to the given address + * + * Result: + * "txid" (string) the keva_put's txid + * + * Examples: + * > kevacoin-cli keva_put "mynamespace", "new-key", "new-value" + * (code -1) + */ public function kevaPut( string $namespace, string $key,