// Returns a list of block hashes which have not yet been
// received by accounts in this wallet (>= v8.0).
// If threshold > 0, Returns a list of pending block hashes
// with amount more or equal to threshold.
// Optionally, Returns a list of pending block hashes with
// amount and source accounts (>= v8.1).
// Requires enable_control.
Returns a list of block hashes which have not yet been
received by accounts in this wallet (>= v8.0).
If threshold > 0, Returns a list of pending block hashes
with amount more or equal to threshold.
Optionally, Returns a list of pending block hashes with
amount and source accounts (>= v8.1).
Requires enable_control.
// Returns a list of block hashes which have not yet been // received by accounts in this wallet ( > = v8 . 0 ) . // If threshold > 0 Returns a list of pending block hashes // with amount more or equal to threshold . // Optionally Returns a list of pending block hashes with // amount and source accounts ( > = v8 . 1 ) . // Requires enable_control .
func WalletPending(wallet string, count, threshold int, source bool) (map[string]interface{}, error) {
	payload := map[string]interface{}{
		"wallet": wallet,
		"count":  count,
		"source": source,
	}
	if threshold > 0 {
		payload["threshold"] = threshold
	}
	return client.fetchMapInterface("wallet_pending", payload, "blocks")
}
func WalletPending ( wallet string , count , threshold int , source bool ) ( map [ string ] interface { } , error ) { payload := map [ string ] interface { } { " " : wallet , " " : count , " " : source , } if threshold > 0 { payload [ " " ] = threshold } return client . fetchMapInterface ( " " , payload , " " ) }
Returns a list of block hashes which have not yet been
received by accounts in this wallet (>= v8.0).
Returns a list of block hashes which have not yet been received by accounts in this wallet ( > = v8 . 0 ) .