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